diff options
Diffstat (limited to 'src/Command.cc')
-rw-r--r-- | src/Command.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Command.cc b/src/Command.cc index d2cc800..af673b6 100644 --- a/src/Command.cc +++ b/src/Command.cc @@ -125,7 +125,10 @@ const char *Command::helpString() { } void Command::version() { - IO::out.writef("%s\n", VERSION); + IO::out.writef("%s", VERSION); + if(strlen(TAG) > 0) + IO::out.writef(" (git: %s)", TAG); + IO::out.writef("\n"); IO::out.close(); exit(0); } |