aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/refcat/cli.py2
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)