Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/tftpd Sync usage with man page.
details: https://anonhg.NetBSD.org/src/rev/43d110082518
branches: trunk
changeset: 750635:43d110082518
user: wiz <wiz%NetBSD.org@localhost>
date: Fri Jan 08 23:27:08 2010 +0000
description:
Sync usage with man page.
diffstat:
libexec/tftpd/tftpd.8 | 12 ++++++------
libexec/tftpd/tftpd.c | 6 +++---
2 files changed, 9 insertions(+), 9 deletions(-)
diffs (68 lines):
diff -r 352ebddb0604 -r 43d110082518 libexec/tftpd/tftpd.8
--- a/libexec/tftpd/tftpd.8 Fri Jan 08 23:25:07 2010 +0000
+++ b/libexec/tftpd/tftpd.8 Fri Jan 08 23:27:08 2010 +0000
@@ -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
diff -r 352ebddb0604 -r 43d110082518 libexec/tftpd/tftpd.c
--- a/libexec/tftpd/tftpd.c Fri Jan 08 23:25:07 2010 +0000
+++ b/libexec/tftpd/tftpd.c Fri Jan 08 23:27:08 2010 +0000
@@ -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);
}
Home |
Main Index |
Thread Index |
Old Index