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