Make --report imply --wconsole on Windows
This commit is contained in:
parent
500a7def2e
commit
296f8b091b
2 changed files with 7 additions and 1 deletions
|
@ -178,7 +178,11 @@ commandline_options::commandline_options (const std::vector<std::string>& args)
|
|||
" Implies --wconsole."
|
||||
#endif // _WIN32
|
||||
)
|
||||
("report,R", "initializes game directories, prints build information suitable for use in bug reports, and exits.")
|
||||
("report,R", "initializes game directories, prints build information suitable for use in bug reports, and exits."
|
||||
#ifdef _WIN32
|
||||
" Implies --wconsole."
|
||||
#endif // _WIN32
|
||||
)
|
||||
("rng-seed", po::value<unsigned int>(), "seeds the random number generator with number <arg>. Example: --rng-seed 0")
|
||||
("screenshot", po::value<two_strings>()->multitoken(), "takes two arguments: <map> <output>. Saves a screenshot of <map> to <output> without initializing a screen. Editor must be compiled in for this to work."
|
||||
#ifdef _WIN32
|
||||
|
|
|
@ -1035,6 +1035,8 @@ int main(int argc, char** argv)
|
|||
args[k] == "--logdomains" ||
|
||||
args[k] == "--path" ||
|
||||
args[k] == "--render-image" ||
|
||||
args[k] == "--report" ||
|
||||
args[k] == "-R" ||
|
||||
args[k] == "--screenshot" ||
|
||||
args[k] == "--data-path" ||
|
||||
args[k] == "--userdata-path" ||
|
||||
|
|
Loading…
Add table
Reference in a new issue