We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d24ee23 commit 873a05eCopy full SHA for 873a05e
src/bootstrap/configure.py
@@ -247,11 +247,17 @@ def set(key, value):
247
arr = arr[part]
248
249
for key in known_args:
250
- # The `set` option is special and an be passed a bunch of times
+ # The `set` option is special and can be passed a bunch of times
251
if key == 'set':
252
for option, value in known_args[key]:
253
keyval = value.split('=', 1)
254
- set(keyval[0], True if len(keyval) == 1 else keyval[1])
+ if len(keyval) == 1 or keyval[1] == "true":
255
+ value = True
256
+ elif keyval[1] == "false":
257
+ value = False
258
+ else:
259
+ value = keyval[1]
260
+ set(keyval[0], value)
261
continue
262
263
# Ensure each option is only passed once
0 commit comments