Skip to content
Snippets Groups Projects
Commit f2273fb2 authored by Hans Fangohr's avatar Hans Fangohr
Browse files

fix last commit, and add documentation.

(We need some CI to catch at least the trivial mistakes like the one from the
last commit.)
parent 37f5d7d9
No related branches found
No related tags found
2 merge requests!19Move linux-debian11 into main,!1Resolve "First draft for user interface for top level install command"
......@@ -300,8 +300,10 @@ def main():
subp.add_argument("release", type=str, help="Release version to install or remove")
if cmd in ["install", "reinstall"]:
subp.add_argument(
"--toolchain",
"--toolchains",
"--toolchains", # first option defines attribute
# name `args.toolchains` in `args = parser_args()`
"--toolchain", # allow singular as alternative
# (-> creates attribute `args.toolchains` if used)
type=str,
nargs="+",
default="NONE",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment