diff options
author | Jon Bernard <jbernard@tuxion.com> | 2016-01-04 05:47:22 -0500 |
---|---|---|
committer | Jon Bernard <jbernard@tuxion.com> | 2016-01-04 05:48:32 -0500 |
commit | cfd79f86fbab500fa858978fe6979b607ffca549 (patch) | |
tree | b945feee8d03fbb04ed1d86c3805f1fe5b27f785 | |
parent | 2d3afb27519c90949ffaaf24f7e0a7f4d4a50e93 (diff) | |
download | dotfiles-cfd79f86fbab500fa858978fe6979b607ffca549.tar.gz dotfiles-cfd79f86fbab500fa858978fe6979b607ffca549.tar.bz2 dotfiles-cfd79f86fbab500fa858978fe6979b607ffca549.zip |
Enable use of '-h' for help command
-rw-r--r-- | dotfiles.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles.py b/dotfiles.py index 9a7fe9a..19ae12f 100644 --- a/dotfiles.py +++ b/dotfiles.py @@ -124,7 +124,7 @@ class Dotfile(object): pass_repo = click.make_pass_decorator(Repository) -@click.group() +@click.group(context_settings=dict(help_option_names=['-h', '--help'])) @click.option('--home-directory', type=click.Path(), default=DEFAULT_HOME, show_default=True) @click.option('--repository', type=click.Path(), default=DEFAULT_REPO, |