kopia lustrzana https://gitlab.com/eliggett/wfview
adding missing dash to the short form of --logfile
rodzic
9c88daa3c8
commit
c341efc11a
4
main.cpp
4
main.cpp
|
@ -58,7 +58,7 @@ int main(int argc, char *argv[])
|
||||||
c += 1;
|
c += 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if ((currentArg == "l") || (currentArg == "--logfile"))
|
else if ((currentArg == "-l") || (currentArg == "--logfile"))
|
||||||
{
|
{
|
||||||
if (argc > c)
|
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
|
// Write to the output category of the message and the message itself
|
||||||
out << context.category << ": " << msg << "\n";
|
out << context.category << ": " << msg << "\n";
|
||||||
out.flush(); // Clear the buffered data
|
out.flush(); // Clear the buffered data
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue