From: Jameson Rollins Date: Tue, 2 Feb 2010 21:27:31 +0000 (-0500) Subject: add some useful shortcuts for some common commands X-Git-Tag: monkeysphere_0.29~46 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=4513721ec1270d51106eba30e54b8326f333701f;p=monkeysphere.git add some useful shortcuts for some common commands --- diff --git a/src/monkeysphere b/src/monkeysphere index 1dee3ba..648f5e9 100755 --- a/src/monkeysphere +++ b/src/monkeysphere @@ -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 "$@" ;; diff --git a/src/monkeysphere-authentication b/src/monkeysphere-authentication index 7d08aac..8c58645 100755 --- a/src/monkeysphere-authentication +++ b/src/monkeysphere-authentication @@ -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" diff --git a/src/monkeysphere-host b/src/monkeysphere-host index 72205ad..6145c30 100755 --- a/src/monkeysphere-host +++ b/src/monkeysphere-host @@ -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 "$@" ;;