Mercurial > kallithea
changeset 7753:d89217cca11a
cli: introduce -h alias for --help
Very convenient for muscle memory ...
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Wed, 03 Jul 2019 12:25:55 +0200 |
parents | 3929ff3f21c6 |
children | 76e2072b88f6 |
files | kallithea/bin/kallithea_cli_base.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/bin/kallithea_cli_base.py Tue Jun 11 20:53:33 2019 +0200 +++ b/kallithea/bin/kallithea_cli_base.py Wed Jul 03 12:25:55 2019 +0200 @@ -22,7 +22,7 @@ # This placeholder is the main entry point for the kallithea-cli command -@click.group() +@click.group(context_settings=dict(help_option_names=['-h', '--help'])) def cli(): """Various commands to manage a Kallithea instance."""