]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
doc: resynchronize manpage with in-code help
authorJan Engelhardt <jengelh@medozas.de>
Fri, 20 Feb 2009 15:39:54 +0000 (16:39 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Sat, 21 Feb 2009 01:46:22 +0000 (02:46 +0100)
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
ip6tables.8.in
ip6tables.c
iptables.8.in
iptables.c

index 3d19a4c6ec690d915755d5af8ecdea9dac787e75..a31887e8d235b0214c54ea0c3149094f2b44ff0c 100644 (file)
@@ -30,16 +30,16 @@ ip6tables - IPv6 packet filter administration
 \fBip6tables\fP [\fB\-t\fP \fItable\fP] {\fB\-A\fP|\fB\-D\fP} \fIchain
 rule-specification\fP [\fIoptions...\fP]
 .PP
-\fBip6tables\fP [\fB\-t\fP \fItable\fP] \fB\-I\fP [\fIrulenum\fP]
+\fBip6tables\fP [\fB\-t\fP \fItable\fP] \fB\-I\fP \fIchain\fP [\fIrulenum\fP]
 \fIrule-specification\fP [\fIoptions...\fP]
 .PP
-\fBip6tables\fP [\fB\-t\fP \fItable\fP] \fB\-R\fP \fIrulenum
+\fBip6tables\fP [\fB\-t\fP \fItable\fP] \fB\-R\fP \fIchain rulenum
 rule-specification\fP [\fIoptions...\fP]
 .PP
 \fBip6tables\fP [\fB\-t\fP \fItable\fP] \fB\-D\fP \fIchain rulenum\fP
 [\fIoptions...\fP]
 .PP
-\fBip6tables\fP [\fB\-t\fP \fItable\fP] \fB\-S\fP [\fIchain\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]
index 06c0a608e6223630b26b1407e4e277f904f66331..7847ebcc583171669f38f4a780177399c835d5cc 100644 (file)
@@ -240,7 +240,8 @@ exit_printhelp(struct xtables_rule_match *matches)
 
        printf("%s v%s\n\n"
 "Usage: %s -[AD] chain rule-specification [options]\n"
-"       %s -[RI] chain rulenum rule-specification [options]\n"
+"       %s -I chain [rulenum] rule-specification [options]\n"
+"       %s -R chain rulenum rule-specification [options]\n"
 "       %s -D chain rulenum [options]\n"
 "       %s -[LS] [chain [rulenum]] [options]\n"
 "       %s -[FZ] [chain] [options]\n"
@@ -250,7 +251,7 @@ exit_printhelp(struct xtables_rule_match *matches)
 "       %s -h (print this help information)\n\n",
               prog_name, prog_vers, prog_name, prog_name,
               prog_name, prog_name, prog_name, prog_name,
-              prog_name, prog_name, prog_name);
+              prog_name, prog_name, prog_name, prog_name);
 
        printf(
 "Commands:\n"
index 2bbd9a7b907ca0a106a60ecaacb0bba6ad53e1a2..10dcb73407805ac999ab6bdf63f5c7634c55987f 100644 (file)
@@ -27,13 +27,13 @@ iptables - administration tool for IPv4 packet filtering and NAT
 .SH SYNOPSIS
 \fBiptables\fP [\fB\-t\fP \fItable\fP] {\fB\-A\fP|\fB\-D\fP} \fIchain\fP \fIrule-specification\fP
 .PP
-\fBiptables\fP [\fB\-t\fP \fItable\fP] \fB\-I\fP [\fIrulenum\fP] \fIrule-specification\fP
+\fBiptables\fP [\fB\-t\fP \fItable\fP] \fB\-I\fP \fIchain\fP [\fIrulenum\fP] \fIrule-specification\fP
 .PP
-\fBiptables\fP [\fB\-t\fP \fItable\fP] \fB\-R\fP \fIrulenum rule-specification\fP
+\fBiptables\fP [\fB\-t\fP \fItable\fP] \fB\-R\fP \fIchain rulenum rule-specification\fP
 .PP
 \fBiptables\fP [\fB\-t\fP \fItable\fP] \fB\-D\fP \fIchain rulenum\fP
 .PP
-\fBiptables\fP [\fB\-t\fP \fItable\fP] \fB\-S\fP [\fIchain\fP]
+\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]
 .PP
index a8e97c72661a895cdcbe3c627d4932be2aa3bfbf..8448c18a9c097e62d7623ad86b1aa8a3a351997d 100644 (file)
@@ -254,7 +254,8 @@ exit_printhelp(struct xtables_rule_match *matches)
 
        printf("%s v%s\n\n"
 "Usage: %s -[AD] chain rule-specification [options]\n"
-"       %s -[RI] chain rulenum rule-specification [options]\n"
+"       %s -I chain [rulenum] rule-specification [options]\n"
+"       %s -R chain rulenum rule-specification [options]\n"
 "       %s -D chain rulenum [options]\n"
 "       %s -[LS] [chain [rulenum]] [options]\n"
 "       %s -[FZ] [chain] [options]\n"
@@ -264,7 +265,7 @@ exit_printhelp(struct xtables_rule_match *matches)
 "       %s -h (print this help information)\n\n",
               prog_name, prog_vers, prog_name, prog_name,
               prog_name, prog_name, prog_name, prog_name,
-              prog_name, prog_name, prog_name);
+              prog_name, prog_name, prog_name, prog_name);
 
        printf(
 "Commands:\n"