Skip to content

Commit

Permalink
Merge pull request #614 from techtonik/patch-1
Browse files Browse the repository at this point in the history
Force console on Windows when --help is specified
  • Loading branch information
irydacea committed Mar 3, 2016
2 parents e2c4bc6 + a1dfb99 commit dbebd45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wesnoth.cpp
Expand Up @@ -983,7 +983,7 @@ int main(int argc, char** argv)
// running before then if requested, so just perform a trivial search
// here and let program_options ignore the switch later.
for(size_t k = 0; k < args.size(); ++k) {
if(args[k] == "--wconsole") {
if(args[k] == "--wconsole" || args[k] == "--help") {
lg::enable_native_console_output();
break;
}
Expand Down

0 comments on commit dbebd45

Please sign in to comment.