[LLVMdev] CommandLine handling of -help and -version options

Justin Bogner mail at justinbogner.com
Thu Feb 27 13:26:53 PST 2014


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?



More information about the llvm-dev mailing list