zsh-workers
 help / color / mirror / code / Atom feed
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	[thread overview]
Message-ID: <20181008032424.4260-1-1@233.email> (raw)

---
 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 ))
 (( i<CURRENT )); do
   case ${words[i]}; in
     ah) args+=( '--ahspi[match SPIs in AH header]:*^!:spi' ) ;;
@@ -158,7 +158,7 @@ done
 _arguments -C -s \
   '(-)'{-h,--help}'[print program information]' \
   '(-)'{-V,--version}'[print version information]' \
-  '(-h --help -V --version)'{-t,--table}'[specify table]:table:(filter nat mangle)' \
+  '(-h --help -V --version)'{-t,--table}'[specify table]:table:(filter nat mangle raw security)' \
   "($rcmds $cmds)"{-A,--append}'[append rules to end of specified chain]:chain:->chains' \
   "($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


             reply	other threads:[~2018-10-08  3:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-08  3:24 a-wing [this message]
2018-10-08  3:24 ` [PATCH 2/2] Fix Completion iptables 194: ;& => ;; a-wing
2018-10-08 13:52   ` Daniel Shahaf
2018-10-08 13:55     ` Daniel Shahaf
2018-10-08 13:50 ` [PATCH 1/2] Fix Completion iptables -t raw security Daniel Shahaf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181008032424.4260-1-1@233.email \
    --to=1@233.email \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).