Improve --help output

Fixes #7836.
This commit is contained in:
Gunter Labes 2023-08-09 11:08:20 +02:00 committed by GitHub
parent bf1a7c18e3
commit 4a9acd6e06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -290,7 +290,7 @@ commandline_options::commandline_options(const std::vector<std::string>& args)
parsing_opts.add_options()
("use-schema,S", po::value<std::string>(), "specify a schema to validate WML against (defaults to the core schema).")
("validate,V", po::value<std::string>(), "validate a specified WML file against a schema." IMPLY_TERMINAL)
("validate-addon", po::value<std::string>(), "validate the specified addon's WML against the schema. Requires the user to play the campaign (in the GUI) to trigger the validation.")
("validate-addon", po::value<std::string>()->value_name("addon_id"), "validate the specified addon's WML against the schema. Requires the user to play the campaign (in the GUI) to trigger the validation.")
("validate-core", "validate the core WML against the schema.")
("validate-schema", po::value<std::string>(), "validate a specified WML schema." IMPLY_TERMINAL)
("diff,D", po::value<two_strings>()->multitoken(), "diff two preprocessed WML documents." IMPLY_TERMINAL)