From 510aef98a56cdbfdb147f78b05d7554bb91770a9 Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Mon, 2 Jun 2008 12:48:48 +0200 Subject: 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. --- extensions/libxt_multiport.man | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extensions/libxt_multiport.man') 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. -- cgit v1.2.3