Add -h as a shortcut for --help (#316)

This commit is contained in:
Loren Carvalho 2018-06-07 21:43:04 -05:00 committed by Łukasz Langa
parent 7f3678885f
commit 39e9347687

View File

@ -191,7 +191,7 @@ def read_pyproject_toml(
return value
@click.command()
@click.command(context_settings=dict(help_option_names=["-h", "--help"]))
@click.option(
"-l",
"--line-length",