mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-30 00:17:52 +00:00
Reporter command line parser errors more eagerly
- show all “unrecognised option” errors
This commit is contained in:
parent
f385a0b13d
commit
886d9d397c
3 changed files with 35 additions and 23 deletions
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue