Fix CLI hints for colour and reporter options

This commit is contained in:
Martin Hořeňovský 2022-04-06 21:52:51 +02:00
parent 423e1d2ebb
commit c43947eb47
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -242,7 +242,7 @@ namespace Catch {
| Opt( config.defaultOutputFilename, "filename" ) | Opt( config.defaultOutputFilename, "filename" )
["-o"]["--out"] ["-o"]["--out"]
( "default output filename" ) ( "default output filename" )
| Opt( accept_many, setReporter, "name[:output-file]" ) | Opt( accept_many, setReporter, "name[::key=value]*" )
["-r"]["--reporter"] ["-r"]["--reporter"]
( "reporter to use (defaults to console)" ) ( "reporter to use (defaults to console)" )
| Opt( config.name, "name" ) | Opt( config.name, "name" )
@ -292,7 +292,7 @@ namespace Catch {
( "set a specific seed for random numbers" ) ( "set a specific seed for random numbers" )
| Opt( setColourMode, "ansi|win32|none|default" ) | Opt( setColourMode, "ansi|win32|none|default" )
["--colour-mode"] ["--colour-mode"]
( "should output be colourised" ) ( "what color mode should be used as default" )
| Opt( config.libIdentify ) | Opt( config.libIdentify )
["--libidentify"] ["--libidentify"]
( "report name and version according to libidentify standard" ) ( "report name and version according to libidentify standard" )