From 2dc53af39c118f9e0e5760c63834aa63ec5732bd Mon Sep 17 00:00:00 2001 From: Allanis <allanis@saracraft.net> Date: Tue, 26 Mar 2013 16:50:57 +0000 Subject: [PATCH] [Change] -v simply displays version and quits. --- src/conf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/conf.c b/src/conf.c index d6b21ef..c54cd6e 100644 --- a/src/conf.c +++ b/src/conf.c @@ -249,7 +249,9 @@ void conf_parseCLI(int argc, char** argv) { sound_volume(atof(optarg)); break; 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': print_usage(argv); exit(EXIT_SUCCESS);