diff options
author | 2017-09-26 14:42:31 -0400 | |
---|---|---|
committer | 2017-09-27 10:01:09 -0400 | |
commit | 659feca7dee332f75801010b018505b7ba5a185e (patch) | |
tree | 183cbd7b3a1ad10939c3a23d05033ce176c311d2 /LICENSE | |
parent | 5b98fb43ecaa6a9343ba4aa649f74193f0cf0956 (diff) |
Move the canonicalization of an option value to the option value itself.
Ideally, the canonical form we output from OptionUtils would be the same as for the command canonicalize-flags, but that must wait for dependencies to be cleaned up. Still, in the meantime, keep the --foo=1 normalization of --foo, and apply it to all other boolean flag values (t,true,yes,y, and false equivalents), so that the canoncalize-flags output is more canonical, even if it isn't using the --[no]foo form yet.
RELNOTES: Boolean flag values will now get normalized to 1 or 0 in canonicalize-flags output.
PiperOrigin-RevId: 170084599
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions