From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-workers-return-43623-ml=inbox.vuxu.org@zsh.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id a86288f3 for ; Mon, 8 Oct 2018 03:30:40 +0000 (UTC) Received: (qmail 29659 invoked by alias); 8 Oct 2018 03:29:50 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 43623 Received: (qmail 18350 invoked by uid 1010); 8 Oct 2018 03:29:49 -0000 X-Qmail-Scanner-Diagnostics: from out20-87.mail.aliyun.com by f.primenet.com.au (envelope-from <1@233.email>, uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(115.124.20.87):SA:0(-1.9/5.0):. Processed in 3.093414 secs); 08 Oct 2018 03:29:49 -0000 X-Envelope-From: 1@233.email X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | X-Alimail-AntiSpam: AC=CONTINUE;BC=0.1291838|-1;CH=green;FP=17145168630895151144|1|1|1|0|-1|-1|-1;HT=e02c03305;MF=1@233.email;NM=1;PH=DS;RN=2;RT=2;SR=0;TI=SMTPD_---.D-s8nNL_1538970109; From: a-wing <1@233.email> To: zsh-workers@zsh.org Cc: a-wing <1@233.email> Subject: [PATCH 1/2] Fix Completion iptables -t raw security Date: Mon, 8 Oct 2018 11:24:23 +0800 Message-Id: <20181008032424.4260-1-1@233.email> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Qmail-Scanner-2.11: added fake Content-Type header Content-Type: text/plain --- Completion/Linux/Command/_iptables | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Completion/Linux/Command/_iptables b/Completion/Linux/Command/_iptables index 447d7c932..ae8d66ea4 100644 --- a/Completion/Linux/Command/_iptables +++ b/Completion/Linux/Command/_iptables @@ -7,7 +7,7 @@ case $service in iptables-save | ip6tables-save) _arguments -s \ {-c,--counters}'[include values of packet and byte counters in output]' \ - {-t,--table}'[specify table]:table:(filter nat mangle)' + {-t,--table}'[specify table]:table:(filter nat mangle raw security)' return ;; iptables-restore | ip6tables-restore) @@ -89,7 +89,7 @@ esac local i=1 typeset -U args while - (( i=words[(ib.i.)-m|--match]+1 )) + (( i=words[(ib.i.)-m|--match]+1 )) (( ichains' \ "($rcmds $cmds -c --set-counters)"{-D,--delete}'[delete rules from specified chain]:chain:->chains::rule number:->rulenums' \ "($rcmds $cmds)"{-I,--insert}'[insert rules before specified rule number]:chain:->chains::rule number:->rulenums' \ -- 2.19.0