diff options
author | ccalvarin <ccalvarin@google.com> | 2018-04-06 10:59:56 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-04-06 11:01:12 -0700 |
commit | c1125de0f9030d90d6c4fcaa0c1f2f1a61018416 (patch) | |
tree | 1a41171781c521062d7aebe351017b91345f86b4 /src/main | |
parent | 4171fc6b8f1710ce2e3c6e4d233f5004c520b06e (diff) |
Disallow undefined configs by default.
This brings it in line with other flags, where a malformed value is an error.
RELNOTES(INC): --config=foo will error if no 'foo' config exists.
PiperOrigin-RevId: 191910781
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/runtime/CommonCommandOptions.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/CommonCommandOptions.java b/src/main/java/com/google/devtools/build/lib/runtime/CommonCommandOptions.java index 4c37fab659..8d520e90cf 100644 --- a/src/main/java/com/google/devtools/build/lib/runtime/CommonCommandOptions.java +++ b/src/main/java/com/google/devtools/build/lib/runtime/CommonCommandOptions.java @@ -107,7 +107,7 @@ public class CommonCommandOptions extends OptionsBase { @Option( name = "allow_undefined_configs", - defaultValue = "true", + defaultValue = "false", documentationCategory = OptionDocumentationCategory.UNCATEGORIZED, effectTags = {OptionEffectTag.EAGERNESS_TO_EXIT}, help = "Do not throw an error when the config is not defined." |