Module Name: src
Committed By: wiz
Date: Fri Jan 8 23:27:08 UTC 2010
Modified Files:
src/libexec/tftpd: tftpd.8 tftpd.c
Log Message:
Sync usage with man page.
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/libexec/tftpd/tftpd.8
cvs rdiff -u -r1.33 -r1.34 src/libexec/tftpd/tftpd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/libexec/tftpd/tftpd.8
diff -u src/libexec/tftpd/tftpd.8:1.23 src/libexec/tftpd/tftpd.8:1.24
--- src/libexec/tftpd/tftpd.8:1.23 Fri Jan 8 23:25:07 2010
+++ src/libexec/tftpd/tftpd.8 Fri Jan 8 23:27:08 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: tftpd.8,v 1.23 2010/01/08 23:25:07 wiz Exp $
+.\" $NetBSD: tftpd.8,v 1.24 2010/01/08 23:27:08 wiz Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -41,7 +41,7 @@
.Nm
.Op Fl dln
.Op Fl g Ar group
-.Op Fl p Ar path separator
+.Op Fl p Ar pathsep
.Op Fl s Ar directory
.Op Fl u Ar user
.Op Ar directory ...
@@ -91,7 +91,7 @@
relative filename requests.
.Pp
The options are:
-.Bl -tag -width "directory"
+.Bl -tag -width "XsXdirectoryX"
.It Fl d
Enable verbose debugging messages to
.Xr syslogd 8 .
@@ -109,10 +109,10 @@
.It Fl n
Suppresses negative acknowledgement of requests for nonexistent
relative filenames.
-.It Fl p Ar path separator
+.It Fl p Ar pathsep
All occurances of the single character
-.Ar path separator
-in the requested filename are replaced with
+.Ar pathsep
+(path separator) in the requested filename are replaced with
.Sq / .
.It Fl s Ar directory
.Nm
Index: src/libexec/tftpd/tftpd.c
diff -u src/libexec/tftpd/tftpd.c:1.33 src/libexec/tftpd/tftpd.c:1.34
--- src/libexec/tftpd/tftpd.c:1.33 Fri Jan 8 21:05:14 2010
+++ src/libexec/tftpd/tftpd.c Fri Jan 8 23:27:08 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: tftpd.c,v 1.33 2010/01/08 21:05:14 christos Exp $ */
+/* $NetBSD: tftpd.c,v 1.34 2010/01/08 23:27:08 wiz Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -36,7 +36,7 @@
#if 0
static char sccsid[] = "@(#)tftpd.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: tftpd.c,v 1.33 2010/01/08 21:05:14 christos Exp $");
+__RCSID("$NetBSD: tftpd.c,v 1.34 2010/01/08 23:27:08 wiz Exp $");
#endif
#endif /* not lint */
@@ -141,7 +141,7 @@
{
syslog(LOG_ERR,
- "Usage: %s [-dln] [-u user] [-g group] [-s directory] [-p pathsep] [directory ...]",
+ "Usage: %s [-dln] [-g group] [-p pathsep] [-s directory] [-u user] [directory ...]",
getprogname());
exit(1);
}