]> gitweb.fluxo.info Git - firma.git/commitdiff
admin command parsing fix
authorrhatto <rhatto>
Mon, 9 Oct 2006 18:33:58 +0000 (18:33 +0000)
committerrhatto <rhatto>
Mon, 9 Oct 2006 18:33:58 +0000 (18:33 +0000)
firma

diff --git a/firma b/firma
index f9e5f859eb9dc2952a7952c4ef6178d53e28bd8b..c6ee2bab712f1cd3266906cda7bc2a309cf8b3ba 100755 (executable)
--- 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