Skip to content

Commit 3107a41

Browse files
authored
Fix aliBuild deps crash (alisw#995)
The deps subcommand was missing the -e/--environment argument that build and doctor have Fixes alisw#994
1 parent 5b1ef4b commit 3107a41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

alibuild_helpers/args.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ def doParseArgs():
206206
help=("Assume we're not building %(metavar)s and all its (unique) dependencies. "
207207
"You can specify this option multiple times or separate multiple arguments "
208208
"with commas."))
209+
deps_parser.add_argument("-e", dest="environment", action="append", default=[],
210+
help="KEY=VALUE binding to add to the environment. May be specified multiple times.")
209211

210212
deps_graph = deps_parser.add_argument_group(title="Customise graph output")
211213
deps_graph.add_argument("--neat", dest="neat", action="store_true",

0 commit comments

Comments
 (0)