aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2014-07-31 16:29:42 +0930
committerH. Peter Anvin <hpa@linux.intel.com>2014-07-31 16:25:01 -0700
commit3ee2b278091ac0c60e9077096afa2135708de5e4 (patch)
treeedb50b2a2abfba4ce5394d1536e220adfcd42218
parent18ac1e26f756dd47fef33f5f706b0ec8fa696216 (diff)
downloadtftp-hpa-3ee2b278091ac0c60e9077096afa2135708de5e4.tar.gz
Update manpage to match source code for --map-file
The manpage had --mapfile but the code had --map-file. Closes: #606267 in the Debian BTS Reported-By: Jim Paris <jim@jtan.com> Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r--tftpd/tftpd.8.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/tftpd/tftpd.8.in b/tftpd/tftpd.8.in
index b500d27..71a712d 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.)
.TP
-\fB\-\-mapfile\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
@@ -238,7 +238,7 @@ option, but crash with an error if they actually get the option
accepted by the server.
.SH "FILENAME REMAPPING"
The
-.B \-\-mapfile
+.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.
.PP
Finally, the filename remapping
-.RB ( \-\-mapfile
+.RB ( \-\-map-file
flag) support can be used to provide a limited amount of additional
access control.
.SH "CONFORMING TO"