CLI: Allow multiple define args

This commit is contained in:
Jon Evans 2023-09-28 16:57:41 -04:00
parent 49a8c9eb8d
commit 26f2dbf524
1 changed files with 1 additions and 0 deletions

View File

@ -171,6 +171,7 @@ void CLI::COMMAND::addDefineArg()
m_argParser.add_argument( ARG_DEFINE_VAR_LONG, ARG_DEFINE_VAR_SHORT )
.default_value( std::vector<std::string>() )
.append()
.help( UTF8STDSTR(
_( "Overrides or adds project variables, can be used multiple times to declare multiple variables."
"\nUse in the format of '--define-var key=value' or '-D key=value'" ) ) )