* [PATCH] Completion: _iptables: support ip6tables*
@ 2018-07-22 8:56 Simon Ruderich
0 siblings, 0 replies; only message in thread
From: Simon Ruderich @ 2018-07-22 8:56 UTC (permalink / raw)
To: zsh-workers
[-- Attachment #1: Type: text/plain, Size: 1202 bytes --]
---
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 4178a1a2e..447d7c932 100644
--- a/Completion/Linux/Command/_iptables
+++ b/Completion/Linux/Command/_iptables
@@ -1,16 +1,16 @@
-#compdef iptables iptables-save iptables-restore
+#compdef iptables iptables-save iptables-restore ip6tables ip6tables-save ip6tables-restore
local curcontext="$curcontext" state line expl i ret=1
local -a cmds rcmds ropts rules states prev args
case $service in
- iptables-save)
+ 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)'
return
;;
- iptables-restore)
+ iptables-restore | ip6tables-restore)
_arguments -s \
{-c,--counters}'[restore the values of all packet and byte counters]' \
{-n,--noflush}"[don't flush the previous contents of the table]"
--
2.18.0
--
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-07-22 9:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-22 8:56 [PATCH] Completion: _iptables: support ip6tables* Simon Ruderich
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).