Skip to content

Commit

Permalink
Merge pull request #1093 from doronz88/refactor/restore-help
Browse files Browse the repository at this point in the history
cli: refactor `restore update` help
  • Loading branch information
doronz88 committed Jun 25, 2024
2 parents 34693e1 + 9243bb1 commit decc922
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pymobiledevice3/cli/restore.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ def zipfile_ctx(path: str) -> Generator[ZipFile, None, None]:
class IPSWCommand(Command):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.params.extend([click.Option(('ipsw_ctx', '-i'), required=False, callback=self.ipsw_ctx),
self.params.extend([click.Option(('ipsw_ctx', '-i', '--ipsw'), required=False,
callback=self.ipsw_ctx, help='local IPSW file'),
click.Option(('tss', '--tss'), type=click.File('rb'), callback=self.tss)])

@staticmethod
Expand Down

0 comments on commit decc922

Please sign in to comment.