Skip to content

Commit

Permalink
Add -h in addition to --help argument
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Jun 26, 2018
1 parent bf27001 commit acbec67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sentinelsat/scripts/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def _set_logger_handler(level='INFO'):
logger.addHandler(h)


@click.command()
@click.command(context_settings=dict(help_option_names=['-h', '--help']))
@click.option(
'--user', '-u', type=str, required=True, envvar='DHUS_USER',
help='Username (or environment variable DHUS_USER is set)')
Expand Down

0 comments on commit acbec67

Please sign in to comment.