[llvm-dev] XOR CommandLine arguments

Daniel Dilts via llvm-dev llvm-dev at lists.llvm.org
Mon Apr 4 11:54:37 PDT 2016


With the CommandLine library, is there a way to specify that one of two
options must be present?

I have two parameters, -if and -od.  I want an error if neither is present
or if both are present.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160404/dbae63e0/attachment.html>


More information about the llvm-dev mailing list