add --extra-info flag

this will add line info to test lists, and test descriptions to the long
form of the test list
This commit is contained in:
Baruch Burstein
2017-06-25 17:12:29 +02:00
committed by Martin Hořeňovský
parent 396ecf6021
commit 616f7235ef
3 changed files with 21 additions and 3 deletions
+4
View File
@@ -187,6 +187,10 @@ namespace Catch {
.describe( "list all/matching test cases names only" )
.bind( &ConfigData::listTestNamesOnly );
cli["--extra-info"]
.describe( "list more info" )
.bind( &ConfigData::extraInfo );
cli["--list-reporters"]
.describe( "list all reporters" )
.bind( &ConfigData::listReporters );