Skip to content

Commit

Permalink
cli: treat -h same as --help
Browse files Browse the repository at this point in the history
  • Loading branch information
doronz88 committed Nov 3, 2021
1 parent bc3cc6e commit 055f5df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pymobiledevice3/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def cli():
crash_cli, afc_cli, ps_cli, notification_cli, list_devices_cli, power_assertion_cli, springboard_cli,
provision_cli, backup_cli, restore_cli, activation_cli, companion_cli
])
cli_commands.context_settings = dict(help_option_names=['-h', '--help'])
try:
cli_commands()
except NoDeviceConnectedError:
Expand Down

0 comments on commit 055f5df

Please sign in to comment.