1
0
Fork 0

Console: restore option to open console early.

This commit is contained in:
Richard Harrison 2017-05-31 11:38:13 +02:00
parent 16a7493de7
commit ac89ec94a3

View file

@ -2261,6 +2261,9 @@ int Options::parseOption(const string& s, bool fromConfigFile)
} else if ( (s == "--verbose") || (s == "-v") ) {
// verbose help/usage request
return FG_OPTIONS_VERBOSE_HELP;
} else if ((s == "--console") || (s == "-c")) {
fgOptConsole(nullptr);
return FG_OPTIONS_OK;
} else if (s.find("-psn") == 0) {
// on Mac, when launched from the GUI, we are passed the ProcessSerialNumber
// as an argument (and no others). Silently ignore the argument here.