Date: Fri, 13 Oct 2000 02:20:02 -0700 (PDT) From: Johan Karlsson <k@numeri.campus.luth.se> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/18667: mktemp(1) binary, or manpage / usage() is incorrect Message-ID: <200010130920.CAA46728@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR bin/18667; it has been noted by GNATS.
From: Johan Karlsson <k@numeri.campus.luth.se>
To: freebsd-gnats-submit@FreeBSD.org
Cc:
Subject: Re: bin/18667: mktemp(1) binary, or manpage / usage() is incorrect
Date: Fri, 13 Oct 2000 11:20:12 +0200
Reading the manpage and src I've come up with the atteched patch
which describes the usage of mktemp(1) more accuratly than my prev
patch.
Index: usr.bin/mktemp/mktemp.1
===================================================================
RCS file: /home/ncvs/src/usr.bin/mktemp/mktemp.1,v
retrieving revision 1.9
diff -u -r1.9 mktemp.1
--- usr.bin/mktemp/mktemp.1 2000/06/04 09:11:22 1.9
+++ usr.bin/mktemp/mktemp.1 2000/10/13 09:17:07
@@ -44,7 +44,12 @@
.Op Fl q
.Op Fl t Ar prefix
.Op Fl u
-.Op Ar template ...
+.Ar template ...
+.Nm mktemp
+.Op Fl d
+.Op Fl q
+.Op Fl u
+.Fl t Ar prefix
.Sh DESCRIPTION
The
.Nm
Index: usr.bin/mktemp/mktemp.c
===================================================================
RCS file: /home/ncvs/src/usr.bin/mktemp/mktemp.c,v
retrieving revision 1.2
diff -u -r1.2 mktemp.c
--- usr.bin/mktemp/mktemp.c 1998/05/05 06:13:47 1.2
+++ usr.bin/mktemp/mktemp.c 2000/10/13 09:16:38
@@ -145,6 +145,8 @@
usage()
{
fprintf(stderr,
- "usage: mktemp [-d] [-q] [-t prefix] [-u] [template ...]\n");
+ "usage: mktemp [-d] [-q] [-t prefix] [-u] template ...\n");
+ fprintf(stderr,
+ " mktemp [-d] [-q] [-u] -t prefix \n");
exit (1);
}
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010130920.CAA46728>
