changeset 2055:943e52e03cde

... or -v
author Chris Cannam
date Thu, 01 Nov 2018 10:18:51 +0000
parents fc17db201a86
children c1745df7e211
files main/main.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/main/main.cpp	Thu Nov 01 10:18:13 2018 +0000
+++ b/main/main.cpp	Thu Nov 01 10:18:51 2018 +0000
@@ -266,7 +266,7 @@
         exit(2);
     }
 
-    if (args.contains("--version")) {
+    if (args.contains("--version") || args.contains("-v")) {
         cerr << SV_VERSION << endl;
         exit(0);
     }