Skip to content

Commit

Permalink
cli_TEST: Fix compatibility with CLI11 2.0 (#60)
Browse files Browse the repository at this point in the history
Signed-off-by: Silvio <silvio@traversaro.it>
  • Loading branch information
traversaro authored May 17, 2022
1 parent 4887456 commit 64fea9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/cli_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ std::shared_ptr<TestOptions> addFlags(CLI::App &_app)
excludesB->excludes(excludesA);

_app.add_option("--default-value", opt->defaultValueOption,
"Option with default value", true);
"Option with default value")->capture_default_str();

return opt;
}
Expand Down

0 comments on commit 64fea9a

Please sign in to comment.