search for: optionsleveloptionslevel

Displaying 2 results from an estimated 2 matches for "optionsleveloptionslevel".

2013 May 08
0
[LLVMdev] CommandLine: using cl::Positional with enum
...ter, cl::desc("<program arguments>...")); But, doing this when I run: myTool option1 file.cpp -- I got the next error: "error - this positional option will never be matched, because it does not Require a value and a cl::ConsumeAfter option is active!" So, I modify "OptionsLevelOptionsLevel" including the cl::Required flagThe error is now: "option: does not allow a value! option1 specified. option: must be specified at least once! option: must be specified at least once! option: must be specified at least once!" Then, I decided to use cl::PositionalEatsArgs instead of...
2013 May 07
1
[LLVMdev] CommandLine: using cl::Positional with enum
...onsumeAfter, cl::desc("<program arguments>..."));But, doing this when I run:myTool option1 file.cpp --I got the next error:"error - this positional option will never be matched, because it does not Require a value and a cl::ConsumeAfter option is active!"So, I modify "OptionsLevelOptionsLevel" including the cl::Required flagThe error is now:"option: does not allow a value! option1 specified.option: must be specified at least once!option: must be specified at least once!option: must be specified at least once!"Then, I decided to use cl::PositionalEatsArgs instead of cl::Co...