From: rhatto Date: Mon, 9 Oct 2006 18:33:58 +0000 (+0000) Subject: admin command parsing fix X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=57fac5db4f1f330b233edc1260cd9eeeb6d0b956;p=firma.git admin command parsing fix --- 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