mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
Reporter command line parser errors more eagerly
- show all “unrecognised option” errors
This commit is contained in:
@@ -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