ostinato -[hv] should output to stdout

This commit is contained in:
Srivats P 2023-02-24 15:15:59 +05:30
parent 7b7ede351b
commit 2f3add63d8

View File

@ -45,11 +45,11 @@ int Params::parseCommandLine(int argc, char* argv[])
logsDisabled_ = false; logsDisabled_ = false;
break; break;
case 'v': case 'v':
qDebug("Ostinato %s rev %s\n", version, revision); printf("Ostinato %s rev %s\n", version, revision);
exit(0); exit(0);
case 'h': case 'h':
default: default:
qDebug("usage: %s [-cdhv]\n", argv[0]); printf("usage: %s [-cdhv]\n", argv[0]);
exit(1); exit(1);
} }
n++; n++;