diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-06-08 21:02:46 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-06-08 21:02:46 +0200 |
commit | 232bec0ea3309c62264cf3349f449eb251989ad3 (patch) | |
tree | 489025b39b18911a012a9984d965bd1ae70c68ea /python | |
parent | 285a1fdf19a631613dbd3b6f784ca206dc06e742 (diff) | |
download | refcat-232bec0ea3309c62264cf3349f449eb251989ad3.tar.gz refcat-232bec0ea3309c62264cf3349f449eb251989ad3.zip |
argv[1] is the subcommand
Diffstat (limited to 'python')
-rw-r--r-- | python/refcat/cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/refcat/cli.py b/python/refcat/cli.py index 2b90c61..042bb3d 100644 --- a/python/refcat/cli.py +++ b/python/refcat/cli.py @@ -109,7 +109,7 @@ def ls(*args): """ if len(args) == 0: raise ValueError("ls failed: task name required") - parser = CmdlineParser(sys.argv[1:]) + parser = CmdlineParser(sys.argv[2:]) output = parser.get_task_obj().output() # task_class = find_task_class(args[0]) print(output.path) |