"vscode:/vscode.git/clone" did not exist on "65a5040e09d34b4e4237a4ac1996e2fb2a112bb3"
Commit 29cb9ecb authored by Baber's avatar Baber
Browse files

add todo

parent 71cddf6b
...@@ -47,6 +47,7 @@ class HarnessCLI: ...@@ -47,6 +47,7 @@ class HarnessCLI:
"""Parse arguments using the main parser.""" """Parse arguments using the main parser."""
if len(sys.argv) > 2 and sys.argv[1] not in self._subparsers.choices: if len(sys.argv) > 2 and sys.argv[1] not in self._subparsers.choices:
# Backward compatibility: arguments provided but no valid subcommand - insert 'run' # Backward compatibility: arguments provided but no valid subcommand - insert 'run'
# TODO: add warning
sys.argv.insert(1, "run") sys.argv.insert(1, "run")
elif len(sys.argv) == 2 and "run" in sys.argv: elif len(sys.argv) == 2 and "run" in sys.argv:
# if only 'run' is specified, ensure it is treated as a subcommand # if only 'run' is specified, ensure it is treated as a subcommand
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment