aboutsummaryrefslogtreecommitdiff
path: root/firma
diff options
context:
space:
mode:
authorrhatto <rhatto>2006-10-09 18:33:58 +0000
committerrhatto <rhatto>2006-10-09 18:33:58 +0000
commit57fac5db4f1f330b233edc1260cd9eeeb6d0b956 (patch)
treead6cdf98993b93835341a681765d13feccf4dfa9 /firma
parentcbc3d109e8e4a70834e1ae072f4467b9f61f92dd (diff)
downloadfirma-57fac5db4f1f330b233edc1260cd9eeeb6d0b956.tar.gz
firma-57fac5db4f1f330b233edc1260cd9eeeb6d0b956.tar.bz2
admin command parsing fix
Diffstat (limited to 'firma')
-rwxr-xr-xfirma30
1 files changed, 15 insertions, 15 deletions
diff --git a/firma b/firma
index f9e5f85..c6ee2ba 100755
--- a/firma
+++ b/firma
@@ -1011,21 +1011,6 @@ function ListAdministration {
UnsubscribeUser $2
return_code=$?
;;
- subscribe)
- shift
- SubscribeUsers $*
- return_code=$?
- ;;
- sendkey)
- shift
- SendListPubkey $*
- return_code=$?
- ;;
- info)
- shift
- GetSubscribersInfo $*
- return_code=$?
- ;;
help|quit)
echo >&2 "$1: too many arguments -- $@ (try \"help\")"
return_code=1
@@ -1042,6 +1027,21 @@ function ListAdministration {
echo >&2 "$1: too many arguments -- $@ (try \"help\")"
return_code=1
;;
+ subscribe)
+ shift
+ SubscribeUsers $*
+ return_code=$?
+ ;;
+ sendkey)
+ shift
+ SendListPubkey $*
+ return_code=$?
+ ;;
+ info)
+ shift
+ GetSubscribersInfo $*
+ return_code=$?
+ ;;
*)
echo >&2 "Command not found -- $1 (try \"help\")"
return_code=1