Make --debug alias --debug-normal for backwards compatibility. (#1414)
This commit is contained in:
parent
75caf8e4de
commit
24f2e288d5
|
@ -139,7 +139,8 @@ bool CmdLineParser::parseFromArgs(int argc, const char* const argv[])
|
||||||
mSettings->debugSimplified = true;
|
mSettings->debugSimplified = true;
|
||||||
|
|
||||||
// Show --debug output after the first simplifications
|
// Show --debug output after the first simplifications
|
||||||
else if (std::strcmp(argv[i], "--debug-normal") == 0)
|
else if (std::strcmp(argv[i], "--debug") == 0 ||
|
||||||
|
std::strcmp(argv[i], "--debug-normal") == 0)
|
||||||
mSettings->debugnormal = true;
|
mSettings->debugnormal = true;
|
||||||
|
|
||||||
// Show debug warnings
|
// Show debug warnings
|
||||||
|
|
Loading…
Reference in New Issue