ostinato -[hv] should output to stdout
This commit is contained in:
parent
7b7ede351b
commit
2f3add63d8
@ -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++;
|
||||||
|
Loading…
Reference in New Issue
Block a user