[Change] -v simply displays version and quits.
This commit is contained in:
parent
e139172fed
commit
2dc53af39c
@ -249,7 +249,9 @@ void conf_parseCLI(int argc, char** argv) {
|
|||||||
sound_volume(atof(optarg));
|
sound_volume(atof(optarg));
|
||||||
break;
|
break;
|
||||||
case 'v':
|
case 'v':
|
||||||
LOG(APPNAME": version %d.%d.%d", VMAJOR, VMINOR, VREV);
|
// By now it has already displayed the version.
|
||||||
|
//LOG(APPNAME": version %d.%d.%d", VMAJOR, VMINOR, VREV);
|
||||||
|
exit(EXIT_SUCCESS);
|
||||||
case 'h':
|
case 'h':
|
||||||
print_usage(argv);
|
print_usage(argv);
|
||||||
exit(EXIT_SUCCESS);
|
exit(EXIT_SUCCESS);
|
||||||
|
Loading…
Reference in New Issue
Block a user