[syslinux] [PATCH] Fix hyphen escaping in manpage

Philipp Hahn hahn at univention.de
Tue Aug 19 23:37:42 PDT 2014

Debian converts hyphens to minus-signs by default
<https://lintian.debian.org/tags/hyphen-used-as-minus-sign.html>. If
this is manually disabled for testing, some dashes are still wrong.

Convert those remaining hyphens to minus-signs by escaping them.

diff --git a/tftpd/tftpd.8.in b/tftpd/tftpd.8.in
index 71a712d..fcf492c 100644
--- a/tftpd/tftpd.8.in
+++ b/tftpd/tftpd.8.in
@@ -155,7 +155,7 @@ or
 .B utimeout
 option is negotiated.  The default is 1000000 (1 second.)
-\fB\-\-map-file\fP \fIremap-file\fP, \fB\-m\fP \fIremap-file\fP
+\fB\-\-map\-file\fP \fIremap-file\fP, \fB\-m\fP \fIremap-file\fP
 Specify the use of filename remapping.  The
 .I remap-file
 is a file containing the remapping rules.  See the section on filename
@@ -184,7 +184,7 @@ MTU on your network minus 32 bytes (20 bytes for IP,
8 for UDP, and 4
 for TFTP; less if you use IP options on your network.)  For example,
 on a standard Ethernet (MTU 1500) a value of 1468 is reasonable.
-\fB\-\-port-range\fP \fIport:port\fP, \fB\-R\fP \fIport:port\fP
+\fB\-\-port\-range\fP \fIport:port\fP, \fB\-R\fP \fIport:port\fP
 Force the server port number (the Transaction ID) to be in the
 specified range of port numbers.
@@ -238,7 +238,7 @@ option, but crash with an error if they actually get
the option
 accepted by the server.
-.B \-\-map-file
+.B \-\-map\-file
 option specifies a file which contains filename remapping rules.  Each
 non-comment line (comments begin with hash marks,
 .BR # )
@@ -398,7 +398,7 @@ flag is used to set up a chroot() environment for
the server to run in
 once a connection has been set up.
 Finally, the filename remapping
-.RB ( \-\-map-file
+.RB ( \-\-map\-file
 flag) support can be used to provide a limited amount of additional
 access control.

More information about the Syslinux mailing list