summaryrefslogtreecommitdiff
path: root/src/monkeysphere
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2008-12-28 17:09:44 -0500
committerJameson Graef Rollins <jrollins@finestructure.net>2008-12-28 17:09:44 -0500
commit8e582f8c7cabe19275bc71d6093c9d07bf38b3f9 (patch)
tree1e1c30a31e2f825d89da60cfc9e153a833480b1e /src/monkeysphere
parent4b5f62d5cdb596ce85539766ae3ff491b1b14b46 (diff)
added version output option
Diffstat (limited to 'src/monkeysphere')
-rwxr-xr-xsrc/monkeysphere5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/monkeysphere b/src/monkeysphere
index c003706..98531d2 100755
--- a/src/monkeysphere
+++ b/src/monkeysphere
@@ -45,6 +45,7 @@ subcommands:
--length (-l) BITS key length in bits (2048)
--expire (-e) EXPIRE date to expire
subkey-to-ssh-agent (s) store authentication subkey in ssh-agent
+ version (v) show version number
help (h,?) this help
EOF
@@ -365,6 +366,10 @@ case $COMMAND in
subkey_to_ssh_agent "$@"
;;
+ 'version'|'v')
+ echo "$VERSION"
+ ;;
+
'--help'|'help'|'-h'|'h'|'?')
usage
;;