diff options
author | rhatto <rhatto> | 2006-10-09 18:33:58 +0000 |
---|---|---|
committer | rhatto <rhatto> | 2006-10-09 18:33:58 +0000 |
commit | 57fac5db4f1f330b233edc1260cd9eeeb6d0b956 (patch) | |
tree | ad6cdf98993b93835341a681765d13feccf4dfa9 | |
parent | cbc3d109e8e4a70834e1ae072f4467b9f61f92dd (diff) | |
download | firma-57fac5db4f1f330b233edc1260cd9eeeb6d0b956.tar.gz firma-57fac5db4f1f330b233edc1260cd9eeeb6d0b956.tar.bz2 |
admin command parsing fix
-rwxr-xr-x | firma | 30 |
1 files changed, 15 insertions, 15 deletions
@@ -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 |