Fix WML options being shown in the wrong category in --help and make short option variations still imply --wconsole
This commit is contained in:
parent
bb583c8e98
commit
705bfcc42f
2 changed files with 6 additions and 1 deletions
|
@ -284,7 +284,7 @@ commandline_options::commandline_options (const std::vector<std::string>& args)
|
|||
;
|
||||
|
||||
po::options_description parsing_opts("WML parsing options");
|
||||
testing_opts.add_options()
|
||||
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")
|
||||
("validate-addon", po::value<std::string>(), "validate the specified addon's WML against the schema")
|
||||
|
|
|
@ -1042,6 +1042,11 @@ int main(int argc, char** argv)
|
|||
args[k] == "--render-image" ||
|
||||
args[k] == "--report" ||
|
||||
args[k] == "-R" ||
|
||||
args[k] == "-V" ||
|
||||
args[k] == "-D" ||
|
||||
args[k] == "-P" ||
|
||||
args[k] == "-p" ||
|
||||
args[k] == "--preprocess" ||
|
||||
args[k] == "--screenshot" ||
|
||||
args[k] == "--data-path" ||
|
||||
args[k] == "--diff" ||
|
||||
|
|
Loading…
Add table
Reference in a new issue