From 39c8a985a7f8fa7cd93980d243d3527a6a5a7833 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Sun, 8 Apr 2018 01:45:46 +0200 Subject: click.argument doesn't have a help argument --- patternutils/commands/patterncfg.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/patternutils/commands/patterncfg.py b/patternutils/commands/patterncfg.py index 5d0d72f..abc1e09 100644 --- a/patternutils/commands/patterncfg.py +++ b/patternutils/commands/patterncfg.py @@ -41,8 +41,7 @@ def add( @patterncfg.command(name='remove', help='remove template file') -@click.argument('command', type=click.Choice(['pmatch', 'tmv', 'targs']), - help='select the command from which to remove the file') +@click.argument('command', type=click.Choice(['pmatch', 'tmv', 'targs'])) @click.argument('name') def remove(command: str, name: str) -> None: files = config.find_templates(name, command) -- cgit v1.3.1