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

Chris Lattner clattner at apple.com
Fri Feb 28 00:16:16 PST 2014


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

-Chris

On Feb 27, 2014, at 1:34 PM, Chandler Carruth <chandlerc at google.com> wrote:

> 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
> 
> _______________________________________________
> 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/20140228/82cf974e/attachment.html>


More information about the llvm-dev mailing list