clausklein / rpms / tftp

Forked from rpms/tftp 5 years ago
Clone

Blame SOURCES/tftp-doc.patch

10665a
--- tftp-hpa-5.2/tftp/main.c	2013-04-19 09:34:09.737410319 +0200
10665a
+++ tftp-hpa-5.2/tftp/main.c	2013-04-19 09:42:53.559946374 +0200
10665a
@@ -195,9 +195,11 @@
10665a
 {
10665a
     fprintf(stderr,
10665a
 #ifdef HAVE_IPV6
10665a
-            "Usage: %s [-4][-6][-v][-l][-m mode] [host [port]] [-c command]\n",
10665a
+            "Usage: %s [-4][-6][-v][-V][-l][-m mode] [-R port:port] "
10665a
+			"[host [port]] [-c command]\n",
10665a
 #else
10665a
-            "Usage: %s [-v][-l][-m mode] [host [port]] [-c command]\n",
10665a
+            "Usage: %s [-v][-V][-l][-m mode] [-R port:port] "
10665a
+			"[host [port]] [-c command]\n",
10665a
 #endif
10665a
             program);
10665a
     exit(errcode);
10665a
--- tftp-hpa-5.2/tftpd/tftpd.8.in	2012-11-20 09:43:46.000000000 +0100
10665a
+++ tftp-hpa-5.2/tftpd/tftpd.8.in	2013-04-19 09:44:37.399057279 +0200
10665a
@@ -155,7 +155,7 @@
10665a
 .B utimeout
10665a
 option is negotiated.  The default is 1000000 (1 second.)
10665a
 .TP
10665a
-\fB\-\-mapfile\fP \fIremap-file\fP, \fB\-m\fP \fIremap-file\fP
10665a
+\fB\-\-map\-file\fP \fIremap-file\fP, \fB\-m\fP \fIremap-file\fP
10665a
 Specify the use of filename remapping.  The
10665a
 .I remap-file
10665a
 is a file containing the remapping rules.  See the section on filename
10665a
@@ -243,7 +243,7 @@ option, but crash with an error if they
10665a
 accepted by the server.
10665a
 .SH "FILENAME REMAPPING"
10665a
 The
10665a
-.B \-\-mapfile
10665a
+.B \-\-map\-file
10665a
 option specifies a file which contains filename remapping rules.  Each
10665a
 non-comment line (comments begin with hash marks,
10665a
 .BR # )
10665a
@@ -395,7 +395,7 @@ flag is used to set up a chroot() enviro
10665a
 once a connection has been set up.
10665a
 .PP
10665a
 Finally, the filename remapping
10665a
-.RB ( \-\-mapfile
10665a
+.RB ( \-\-map\-file
10665a
 flag) support can be used to provide a limited amount of additional
10665a
 access control.
10665a
 .SH "CONFORMING TO"