From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14066 invoked by alias); 22 Jul 2018 09:01:52 -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: 43200 Received: (qmail 10378 invoked by uid 1010); 22 Jul 2018 09:01:52 -0000 X-Qmail-Scanner-Diagnostics: from zucker2.schokokeks.org by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(178.63.68.90):SA:0(-2.6/5.0):. Processed in 1.422423 secs); 22 Jul 2018 09:01:52 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: simon@ruderich.org X-Qmail-Scanner-Mime-Attachments: |signature.asc| X-Qmail-Scanner-Zip-Files: | Date: Sun, 22 Jul 2018 10:56:44 +0200 From: Simon Ruderich To: zsh-workers@zsh.org Subject: [PATCH] Completion: _iptables: support ip6tables* Message-ID: <5197fd51bc9750b27c85b3f7474aef589ea37741.1532249712.git.simon@ruderich.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="=_zucker.schokokeks.org-5634-1532249805-0001-2" Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) --=_zucker.schokokeks.org-5634-1532249805-0001-2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable --- 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 =20 local curcontext=3D"$curcontext" state line expl i ret=3D1 local -a cmds rcmds ropts rules states prev args =20 case $service in - iptables-save) + iptables-save | ip6tables-save) _arguments -s \ {-c,--counters}'[include values of packet and byte counters in outpu= t]' \ {-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]" --=20 2.18.0 --=20 + privacy is necessary + using gnupg http://gnupg.org + public key id: 0x92FEFDB7E44C32F9 --=_zucker.schokokeks.org-5634-1532249805-0001-2 Content-Type: application/pgp-signature; name="signature.asc" Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEO7rfWMMObpFkF3n0kv79t+RMMvkFAltURsgACgkQkv79t+RM Mvnxww/9ExI3agqwAtQ/1YhBk36q/35wwWI5uR6ZRN+UfMkoYK0WVY4ABULVRajg iNtF/awypr4p0BCUoYyS9fPFhM1qjM5eHryNNY8m6uLB5hoFovf+JlT8nBgpTYi0 Z8m5uesS1MV6E+xvCRokxNhQvO0ru0oNi4d19SaSgGbnIUzLVJcxKs9R2OB7MuNz cSML23YFp4tDDSnWiIYYn0C31mW8hSpRlSKnqMAcyd1MPv0SYGSNYsb0cB3M+Zah bxnSbewdzeqsCdz2xgNf3//JdMbGR2qxTLbAgmG0A8WRlgJlOEpr6rxwSxpxoS3Q RJXHYsk5xpN6kb2eHHcz7u7gWpYZ+y3N8hoGV94j/FAnXhBx4YSYEFI13mAH37nt CBq4cNWAQP18/g0mRbQ49wlT0YIm+4oRnf1IDmGD3bQ1t6S/gSbVl9ZMhPOqe59m xXHr5eLOJkKTJlNaWGV1ZKVxyCOoQbHQT3Z/EJhajq0aCYVHRGkVDzuKtxe9mrl2 ziEB0JKvBwE9F6reM7xbv/O2yS4axr1YD9JHep0viu32pzs4wyvvNMp13Xk5qNSj XWVaZwdLdF5b0Md56ZDs4XcyNZe+U/o6kEvs3BUWjR211oIAl1oewOxCQU3cxNn1 znq0sfv786Cofa1WyQg69cCe7fOh0hyeziwEBjOOEKgkgZ6qXJk= =Z84f -----END PGP SIGNATURE----- --=_zucker.schokokeks.org-5634-1532249805-0001-2--