aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dotfiles/cli.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/dotfiles/cli.py b/dotfiles/cli.py
index 696dbd5..9374bc0 100644
--- a/dotfiles/cli.py
+++ b/dotfiles/cli.py
@@ -114,12 +114,12 @@ def perform(method, files, repo, debug):
pass_repos = click.make_pass_decorator(Repositories)
-repo_help = 'A repository path.'
-dot_help = 'Preserve the leading dot.'
+
@click.group(context_settings=CONTEXT_SETTINGS)
-@click.option('-r', '--repo', type=click.Path(), multiple=True, help=repo_help)
-@click.option('-d', '--dot', is_flag=True, help=dot_help)
+@click.option('-r', '--repo', type=click.Path(), multiple=True,
+ help='A repository path.')
+@click.option('-d', '--dot', is_flag=True, help='Preserve the leading dot.')
@click.version_option(None, '-v', '--version')
@click.pass_context
def cli(ctx, repo, dot):