From 57fac5db4f1f330b233edc1260cd9eeeb6d0b956 Mon Sep 17 00:00:00 2001 From: rhatto Date: Mon, 9 Oct 2006 18:33:58 +0000 Subject: admin command parsing fix --- firma | 30 +++++++++++++++--------------- 1 file 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 -- cgit v1.2.3