Skip to content

Commit 7ac9b8f

Browse files
committed
Allow '-help' as an alias for '--help'
1 parent 5de901f commit 7ac9b8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mathicsscript/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def fmt_fun(query: Any) -> Any:
243243
case_sensitive = {"case_sensitive": False}
244244

245245

246-
@click.command()
246+
@click.command(context_settings=dict(help_option_names=["-h", "-help", "--help"]))
247247
@click.option(
248248
"--edit-mode",
249249
"-e",

0 commit comments

Comments
 (0)