From fe086ba83d17dfe5dec57da413fac4bc8110f0bb Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 19 Aug 2009 22:36:03 +0200 Subject: iptables: manpage updates for augmented -Z syntax Signed-off-by: Jan Engelhardt --- ip6tables.8.in | 7 ++++--- iptables.8.in | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/ip6tables.8.in b/ip6tables.8.in index 7d9a6171..66d8543c 100644 --- a/ip6tables.8.in +++ b/ip6tables.8.in @@ -42,7 +42,7 @@ rule-specification\fP [\fIoptions...\fP] \fBip6tables\fP [\fB\-t\fP \fItable\fP] \fB\-S\fP [\fIchain\fP [\fIrulenum\fP]] .PP \fBip6tables\fP [\fB\-t\fP \fItable\fP] {\fB\-F\fP|\fB\-L\fP|\fB\-Z\fP} -[\fIchain\fP] [\fIoptions...\fP] +[\fIchain\fP [\fIrulenum\fP]] [\fIoptions...\fP] .PP \fBip6tables\fP [\fB\-t\fP \fItable\fP] \fB\-N\fP \fIchain\fP .PP @@ -182,8 +182,9 @@ it applies to the specified table (filter is the default). Flush the selected chain (all the chains in the table if none is given). This is equivalent to deleting all the rules one by one. .TP -\fB\-Z\fP, \fB\-\-zero\fP [\fIchain\fP] -Zero the packet and byte counters in all chains. It is legal to +\fB\-Z\fP, \fB\-\-zero\fP [\fIchain\fP [\fIrulenum\fP]] +Zero the packet and byte counters in all chains, or only the given chain, +or only the given rule in a chain. It is legal to specify the \fB\-L\fP, \fB\-\-list\fP (list) option as well, to see the counters immediately before they are diff --git a/iptables.8.in b/iptables.8.in index 6125e659..928f46a9 100644 --- a/iptables.8.in +++ b/iptables.8.in @@ -35,7 +35,7 @@ iptables \(em administration tool for IPv4 packet filtering and NAT .PP \fBiptables\fP [\fB\-t\fP \fItable\fP] \fB\-S\fP [\fIchain\fP [\fIrulenum\fP]] .PP -\fBiptables\fP [\fB\-t\fP \fItable\fP] {\fB\-F\fP|\fB\-L\fP|\fB\-Z\fP} [\fIchain\fP] [\fIoptions...\fP] +\fBiptables\fP [\fB\-t\fP \fItable\fP] {\fB\-F\fP|\fB\-L\fP|\fB\-Z\fP} [\fIchain\fP [\fIrulenum\fP]] [\fIoptions...\fP] .PP \fBiptables\fP [\fB\-t\fP \fItable\fP] \fB\-N\fP \fIchain\fP .PP @@ -189,8 +189,9 @@ it applies to the specified table (filter is the default). Flush the selected chain (all the chains in the table if none is given). This is equivalent to deleting all the rules one by one. .TP -\fB\-Z\fP, \fB\-\-zero\fP [\fIchain\fP] -Zero the packet and byte counters in all chains. It is legal to +\fB\-Z\fP, \fB\-\-zero\fP [\fIchain\fP [\fIrulenum\fP]] +Zero the packet and byte counters in all chains, or only the given chain, +or only the given rule in a chain. It is legal to specify the \fB\-L\fP, \fB\-\-list\fP (list) option as well, to see the counters immediately before they are -- cgit v1.2.3