CommandLine handling of -help and -version options

Tools that use the LLVM CommandLine library seem to exit 1 when called
with -version or -help. This is strange and inconsistent with most
command line tools.

Is there a reason we exit 1? Is anyone relying on this behaviour?

I can’t imagine a good reason for this.

Me neither. This is probably my fault, feel free to fix it.

-Chris

Fixed in r202530.

Chris Lattner <clattner@apple.com> writes: