zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH 1/2] Fix Completion iptables -t raw security
@ 2018-10-08  3:24 a-wing
  2018-10-08  3:24 ` [PATCH 2/2] Fix Completion iptables 194: ;& => ;; a-wing
  2018-10-08 13:50 ` [PATCH 1/2] Fix Completion iptables -t raw security Daniel Shahaf
  0 siblings, 2 replies; 5+ messages in thread
From: a-wing @ 2018-10-08  3:24 UTC (permalink / raw)
  To: zsh-workers; +Cc: a-wing

---
 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-10-08 13:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-08  3:24 [PATCH 1/2] Fix Completion iptables -t raw security a-wing
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

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).