Skip to content

Commit

Permalink
👌 Shorthand -h for --help (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
ubmarco committed Aug 20, 2023
1 parent f1bb621 commit 746dd25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions sphinx_performance/analysis.py
Expand Up @@ -22,6 +22,7 @@
@click.command(context_settings=dict(
ignore_unknown_options=True,
allow_extra_args=True,
help_option_names=['-h', '--help'],
))
@click.option("--project", 'projects', default=["basic"], type=str, multiple=True, help="Defines the project to build")
@click.option("--profile", default=[], type=str, multiple=True, help="Activates profiling for given area")
Expand Down
1 change: 1 addition & 0 deletions sphinx_performance/performance.py
Expand Up @@ -28,6 +28,7 @@
@click.command(context_settings=dict(
ignore_unknown_options=True,
allow_extra_args=True,
help_option_names=['-h', '--help'],
))
@click.option("--project", 'projects', default=["basic"], type=str, multiple=True, help="Defines the project to build")
@click.option("--profile", default=[], type=str, multiple=True, help="Activates profiling for given area")
Expand Down

0 comments on commit 746dd25

Please sign in to comment.