Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Commit

Permalink
Allow -h as synonym of --help
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Oct 17, 2023
1 parent dadbeec commit 71215ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gamdam/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def formattable(s: str) -> str:
return s


@click.command()
@click.command(context_settings={"help_option_names": ["-h", "--help"]})
@click.option(
"--addurl-opts",
type=shlex.split,
Expand Down

0 comments on commit 71215ce

Please sign in to comment.