summaryrefslogtreecommitdiffstats
path: root/iptables
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@inai.de>2012-12-25 13:11:19 +0000
committerPablo Neira Ayuso <pablo@netfilter.org>2013-01-07 02:26:15 +0100
commit3dc75984739fd080eb522b638c535164f401b181 (patch)
treeaac2014ee4eef92057732f477556f03edba267ff /iptables
parent0824e7d5e9d80988a49a1699adb0d3c17f792b4c (diff)
doc: document iptables-restore's -t option
References: http://bugs.debian.org/644221 Signed-off-by: Jan Engelhardt <jengelh@inai.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables')
-rw-r--r--iptables/ip6tables-restore.85
-rw-r--r--iptables/iptables-restore.85
2 files changed, 8 insertions, 2 deletions
diff --git a/iptables/ip6tables-restore.8 b/iptables/ip6tables-restore.8
index a4eadb1e..90048655 100644
--- a/iptables/ip6tables-restore.8
+++ b/iptables/ip6tables-restore.8
@@ -21,7 +21,7 @@
.SH NAME
ip6tables-restore \(em Restore IPv6 Tables
.SH SYNOPSIS
-\fBip6tables\-restore\fP [\fB\-c\fP] [\fB\-n\fP] [\fB\-T\fP \fIname\fP]
+\fBip6tables\-restore\fP [\fB\-cnt\fP] [\fB\-T\fP \fIname\fP]
.SH DESCRIPTION
.PP
.B ip6tables-restore
@@ -36,6 +36,9 @@ don't flush the previous contents of the table. If not specified,
\fBip6tables-restore\fP flushes (deletes) all previous contents of the
respective table.
.TP
+\fB\-t\fP, \fB\-\-test\fP
+Only parse and construct the ruleset, but do not commit it.
+.TP
\fB\-T\fP, \fB\-\-table\fP \fIname\fP
Restore only the named table even if the input stream contains other ones.
.B ip6tables-restore
diff --git a/iptables/iptables-restore.8 b/iptables/iptables-restore.8
index 5d1866f3..23be50f6 100644
--- a/iptables/iptables-restore.8
+++ b/iptables/iptables-restore.8
@@ -21,7 +21,7 @@
.SH NAME
iptables-restore \(em Restore IP Tables
.SH SYNOPSIS
-\fBiptables\-restore\fP [\fB\-c\fP] [\fB\-n\fP] [\fB\-T\fP \fIname\fP]
+\fBiptables\-restore\fP [\fB\-cnt\fP] [\fB\-T\fP \fIname\fP]
.SH DESCRIPTION
.PP
.B iptables-restore
@@ -36,6 +36,9 @@ don't flush the previous contents of the table. If not specified,
.B iptables-restore
flushes (deletes) all previous contents of the respective table.
.TP
+\fB\-t\fP, \fB\-\-test\fP
+Only parse and construct the ruleset, but do not commit it.
+.TP
\fB\-T\fP, \fB\-\-table\fP \fIname\fP
Restore only the named table even if the input stream contains other ones.
.SH BUGS