summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJameson Rollins <jrollins@finestructure.net>2010-02-02 16:27:31 -0500
committerJameson Rollins <jrollins@finestructure.net>2010-02-02 16:27:31 -0500
commit4513721ec1270d51106eba30e54b8326f333701f (patch)
treeaf18458a00b00ac13514934843bdb56ab0591569 /src
parentf336e8e4949612b89a1e73f1f6de6f1a3997cfcc (diff)
add some useful shortcuts for some common commands
Diffstat (limited to 'src')
-rwxr-xr-xsrc/monkeysphere2
-rwxr-xr-xsrc/monkeysphere-authentication4
-rwxr-xr-xsrc/monkeysphere-host4
3 files changed, 5 insertions, 5 deletions
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 "$@"
;;