summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_multiport.man
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-06-02 12:48:48 +0200
committerPatrick McHardy <kaber@trash.net>2008-06-02 12:48:48 +0200
commit510aef98a56cdbfdb147f78b05d7554bb91770a9 (patch)
treee7a4c3413d83c2cb70bb457115001599e819066a /extensions/libxt_multiport.man
parent8e1a12fba4008933ce9e89f98c12593e0d39ede3 (diff)
manpages: consistent syntax
In the manpages, bold is used to denote characters the user has to enter verbatim, italic denotes placeholders and non-highlighted pieces are used as a structure: "[]" specifying an optional part, "{}" a mandatory part, with "|" used for alternations. The "!" for negation is better supported before the option than after it, too. The patch makes a few files consistent with this style already used in manpages.
Diffstat (limited to 'extensions/libxt_multiport.man')
-rw-r--r--extensions/libxt_multiport.man6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/libxt_multiport.man b/extensions/libxt_multiport.man
index ba760e90..cbd87e7f 100644
--- a/extensions/libxt_multiport.man
+++ b/extensions/libxt_multiport.man
@@ -5,16 +5,16 @@ ports. It can only be used in conjunction with
or
.BR "-p udp" .
.TP
-.BR "--source-ports " "\fI[!] port\fP[,\fIport\fP[,\fIport:port\fP...]]"
+[\fB!\fP] \fB--source-ports\fP,\fB--sport\fP \fIport\fP[\fB,\fP\fIport\fP[\fB,\fP\fIport\fP\fB:\fP\fIport\fP...]]
Match if the source port is one of the given ports. The flag
.B --sports
is a convenient alias for this option.
.TP
-.BR "--destination-ports " "\fI[!] port\fP[,\fIport\fP[,\fIport:port\fP...]]"
+[\fB!\fP] \fB--destination-ports\fP,\fB--dport\fP \fIport\fP[\fB,\fP\fIport\fP[\fB,\fP\fIport\fP\fB:\fP\fIport\fP...]]
Match if the destination port is one of the given ports. The flag
.B --dports
is a convenient alias for this option.
.TP
-.BR "--ports " "\fI[!] port\fP[,\fIport\fP[,\fIport:port\fP...]]"
+[\fB!\fP] \fB--ports\fP \fIport\fP[\fB,\fP\fIport\fP[\fB,\fP\fIport\fP\fB:\fP\fIport\fP...]]
Match if either the source or destination ports are equal to one of
the given ports.