Support old-style flags even in the new flag system.
Review Request #1093 - Created Oct. 1, 2014 and submitted
E.g., --compile-java-foo-bar anywhere on the cmd-line is the same
as ./pants compile.java --foo-bar.
This will make migration easier, as people are used to the old style,
and we may even want to keep this forever, if some users prefer
the verbose flags.
Ran all the tests.
lgtm minus nits
Thanks for the quick review!
Weird. How does that happen?
I'll add that in a separate change. This isn't the only place in the code where that check would need to happen.
I don't necessarily agree. It brings in extra machinery (the format string parser) where it's not needed. Obviously the performance impact is undetectable in this case, but as a matter of esthetics I prefer to keep things that can be simple, simple...