Merge commit 'jrollins/master'
[monkeysphere.git] / src / monkeysphere
index 57597e29f696bb2e60c5cbc822c218e06873e770..303dc8d758d2262bb5faf3de3e39e78893154f9b 100755 (executable)
@@ -37,12 +37,12 @@ usage: $PGRM <subcommand> [options] [args]
 MonkeySphere client tool.
 
 subcommands:
 update-known_hosts (k) [HOST]...  update known_hosts file
 update-authorized_keys (a)        update authorized_keys file
 gen-subkey (g) KEYID              generate an 'a' capable subkey
-    -l|--length BITS                  key length in bits (2048)
-    -e|--expire EXPIRE                date to expire
 help (h,?)                        this help
update-known_hosts (k) [HOST]...    update known_hosts file
update-authorized_keys (a)          update authorized_keys file
gen-subkey (g) [KEYID]              generate an authentication subkey
+   --length (-l) BITS                  key length in bits (2048)
+   --expire (-e) EXPIRE                date to expire
help (h,?)                          this help
 
 EOF
 }
@@ -288,7 +288,7 @@ case $COMMAND in
        gen_subkey "$@"
        ;;
 
-    'help'|'h'|'?')
+    '--help'|'help'|'-h'|'h'|'?')
         usage
         ;;