add some useful shortcuts for some common commands
authorJameson Rollins <jrollins@finestructure.net>
Tue, 2 Feb 2010 21:27:31 +0000 (16:27 -0500)
committerJameson Rollins <jrollins@finestructure.net>
Tue, 2 Feb 2010 21:27:31 +0000 (16:27 -0500)
src/monkeysphere
src/monkeysphere-authentication
src/monkeysphere-host

index 1dee3bab81411bf6c03441a0dfa6fc3cf1c089ae..648f5e9886a61ca95349d81953232612c91283fe 100755 (executable)
@@ -251,7 +251,7 @@ case $COMMAND in
        process_authorized_user_ids "$AUTHORIZED_USER_IDS"
        ;;
 
-    'import-subkey'|'i')
+    'import-subkey'|'import'|'i')
        source "${MSHAREDIR}/import_subkey"
        import_subkey "$@"
        ;;
index 7d08aacc12fb06d23130a539d9737e34e18459e1..8c58645bcb483fb30f04c88ca279806ff6c3e7a6 100755 (executable)
@@ -164,14 +164,14 @@ case $COMMAND in
        setup
        ;;
 
-    'update-users'|'update-user'|'u')
+    'update-users'|'update-user'|'update'|'u')
        source "${MASHAREDIR}/setup"
        setup
        source "${MASHAREDIR}/update_users"
        update_users "$@"
        ;;
 
-    'refresh-keys'|'r')
+    'refresh-keys'|'refresh'|'r')
        source "${MASHAREDIR}/setup"
        setup
        gpg_sphere "--keyserver $KEYSERVER --refresh-keys"
index 72205ada4a395d562b35c72169ac3306fe5085ec..6145c30fb8227395fe4e0ca9bdafac71cea3a0cb 100755 (executable)
@@ -379,7 +379,7 @@ COMMAND="$1"
 shift
 
 case $COMMAND in
-    'import-key'|'i')
+    'import-key'|'import'|'i')
        source "${MHSHAREDIR}/import_key"
        import_key "$@"
        ;;
@@ -388,7 +388,7 @@ case $COMMAND in
        multi_key show_key "$@"
        ;;
 
-    'set-expire'|'extend-key'|'e')
+    'set-expire'|'extend-key'|'extend'|'e')
        source "${MHSHAREDIR}/set_expire"
        set_expire "$@"
        ;;