added version output option
[monkeysphere.git] / src / monkeysphere-server
index 7d7578d58cc9918968c8c6e396f5bdf0c719fcd3..ba3fa8de409b350ca57e255045d52cf09446206e 100755 (executable)
@@ -66,6 +66,7 @@ subcommands:
 
  gpg-authentication-cmd CMD          gnupg-authentication command
 
+ version (v)                         show version number
  help (h,?)                          this help
 
 EOF
@@ -1066,6 +1067,10 @@ case $COMMAND in
        gpg_authentication_cmd "$@"
        ;;
 
+    'version'|'v')
+       echo "$VERSION"
+       ;;
+
     '--help'|'help'|'-h'|'h'|'?')
         usage
         ;;