From f16a488b89676817f384ac99d5b2232a511e1b6d Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 9 Nov 2017 06:21:18 -0800 Subject: Print version when run in verbose mode Signed-off-by: Dirk Hohndel --- core/subsurfacestartup.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core') diff --git a/core/subsurfacestartup.c b/core/subsurfacestartup.c index ca6a198ad..4a82aeff4 100644 --- a/core/subsurfacestartup.c +++ b/core/subsurfacestartup.c @@ -213,6 +213,7 @@ void parse_argument(const char *arg) print_help(); exit(0); case 'v': + print_version(); verbose++; continue; case 'q': @@ -241,6 +242,7 @@ void parse_argument(const char *arg) return; } if (strcmp(arg, "--verbose") == 0) { + print_version(); verbose++; return; } -- cgit v1.2.3-70-g09d2