summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_udp.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_udp.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_udp.man')
-rw-r--r--extensions/libxt_udp.man4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libxt_udp.man b/extensions/libxt_udp.man
index 1d5e590c..af0682ce 100644
--- a/extensions/libxt_udp.man
+++ b/extensions/libxt_udp.man
@@ -1,13 +1,13 @@
These extensions can be used if `--protocol udp' is specified. It
provides the following options:
.TP
-.BR "--source-port " "[!] \fIport\fP[:\fIport\fP]"
+[\fB!\fP] \fB--source-port\fP,\fB--sport\fP \fIport\fP[\fB:\fP\fIport\fP]
Source port or port range specification.
See the description of the
.B --source-port
option of the TCP extension for details.
.TP
-.BR "--destination-port " "[!] \fIport\fP[:\fIport\fP]"
+[\fB!\fP] \fB--destination-port\fP,\fB--dport\fP \fIport\fP[\fB:\fP\fIport\fP]
Destination port or port range specification.
See the description of the
.B --destination-port