Fixing clara Opt namespace

Opt is under namespace Catch::clara
This commit is contained in:
坂本ポテコ 2018-01-23 14:54:42 +08:00 committed by GitHub
parent b0f4f16ee0
commit cde9c8ed59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,7 +83,7 @@ int main( int argc, char* argv[] )
// Build a new parser on top of Catch's
auto cli
= session.cli() // Get Catch's composite command line parser
| Opt( height, "height" ) // bind variable to a new option, with a hint string
| Catch::clara::Opt( height, "height" ) // bind variable to a new option, with a hint string
["-g"]["--height"] // the option names it will respond to
("how high?"); // description string for the help output