mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-24 15:59:31 +00:00
Correct error message
This commit is contained in:
parent
41f37021bd
commit
47aac28db1
@ -521,7 +521,7 @@ static int process_command_args(commandline_options& cmdline_opts)
|
||||
if(cmdline_opts.preprocess_defines || cmdline_opts.preprocess_input_macros || cmdline_opts.preprocess_path) {
|
||||
// It would be good if this was supported for running tests too, possibly for other uses.
|
||||
// For the moment show an error message instead of leaving the user wondering why it doesn't work.
|
||||
std::cerr << "That --preprocess-* option is only supported when using --preprocess or --validate-wml.";
|
||||
PLAIN_LOG << "That --preprocess-* option is only supported when using --preprocess or --validate.";
|
||||
return 2;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user