Make --debug alias --debug-normal for backwards compatibility. (#1414)

This commit is contained in:
IOBYTE 2018-10-09 08:47:50 -04:00 committed by Daniel Marjamäki
parent 75caf8e4de
commit 24f2e288d5
1 changed files with 2 additions and 1 deletions

View File

@ -139,7 +139,8 @@ bool CmdLineParser::parseFromArgs(int argc, const char* const argv[])
mSettings->debugSimplified = true;
// 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;
// Show debug warnings