adding missing dash to the short form of --logfile

merge-requests/1/head
Roeland Jansen 2021-02-08 10:20:06 +01:00
rodzic 9c88daa3c8
commit c341efc11a
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -58,7 +58,7 @@ int main(int argc, char *argv[])
c += 1;
}
}
else if ((currentArg == "l") || (currentArg == "--logfile"))
else if ((currentArg == "-l") || (currentArg == "--logfile"))
{
if (argc > c)
{
@ -126,4 +126,4 @@ void messageHandler(QtMsgType type, const QMessageLogContext& context, const QSt
// Write to the output category of the message and the message itself
out << context.category << ": " << msg << "\n";
out.flush(); // Clear the buffered data
}
}