diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-11-09 06:21:18 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-11-09 16:21:46 -0800 |
commit | f16a488b89676817f384ac99d5b2232a511e1b6d (patch) | |
tree | a4d3e45d3e87ea3c5a70b75fea33810ae186c6be /core/subsurfacestartup.c | |
parent | bcabe6ec9f255b1c789cbcbef820e702489c7254 (diff) | |
download | subsurface-f16a488b89676817f384ac99d5b2232a511e1b6d.tar.gz |
Print version when run in verbose mode
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/subsurfacestartup.c')
-rw-r--r-- | core/subsurfacestartup.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |