Merge pull request #614 from techtonik/patch-1
Force console on Windows when --help is specified
This commit is contained in:
commit
dbebd452cc
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue