Reporter command line parser errors more eagerly
- show all “unrecognised option” errors
This commit is contained in:
1 parent
f385a0b13d
commit
886d9d397c
3 files changed
+35
-23
No files matched your search
@@ -116,7 +116,7 @@ TEST_CASE( "cmdline" ) {
|
||||
.shortOpt( "d" )
|
||||
.longOpt( "description" )
|
||||
.hint( "some text" );
|
||||
|
||||
|
||||
const char* argv[] = { "test", "-n 42", "-d some text" };
|
||||
std::vector<Clara::Parser::Token> unusedTokens = parseInto( cli, argv, config1 );
|
||||
|
||||
|
||||
Reference in new issue
Block a user