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

Chandler Carruth chandlerc at google.com
Thu Feb 27 13:34:04 PST 2014


I can't imagine a good reason for this.


On Thu, Feb 27, 2014 at 1:26 PM, Justin Bogner <mail at justinbogner.com>wrote:

> 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?
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140227/45b2529b/attachment.html>


More information about the llvm-dev mailing list