Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Aug 2000 13:40:03 -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:  <200008042040.NAA21274@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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: obrien@NUXI.com
Subject: Re: bin/18667: mktemp(1) binary, or manpage / usage() is incorrect
Date: Fri, 04 Aug 2000 22:31:02 +0200

 Hi David
 
 What do you think about the following patch mktemp usage?
 
 Am I correct in the assumption that you are obrien@freebsd.org ?
 
 If so and the patch seems ok, maybe you can comitt it.
 
 Index: mktemp.1
 ===================================================================
 RCS file: /home/ncvs/src/usr.bin/mktemp/mktemp.1,v
 retrieving revision 1.9
 diff -u -r1.9 mktemp.1
 --- mktemp.1	2000/06/04 09:11:22	1.9
 +++ mktemp.1	2000/08/04 20:22:15
 @@ -42,9 +42,14 @@
  .Nm mktemp
  .Op Fl d
  .Op Fl q
 -.Op Fl t Ar prefix
  .Op Fl u
 +.Ar template
  .Op Ar template ...
 +.Nm mktemp
 +.Op Fl d
 +.Op Fl q
 +.Op Fl u
 +.Fl t Ar prefix
  .Sh DESCRIPTION
  The
  .Nm
 Index: mktemp.c
 ===================================================================
 RCS file: /home/ncvs/src/usr.bin/mktemp/mktemp.c,v
 retrieving revision 1.2
 diff -u -r1.2 mktemp.c
 --- mktemp.c	1998/05/05 06:13:47	1.2
 +++ mktemp.c	2000/08/04 20:20:03
 @@ -145,6 +145,8 @@
  usage()
  {
  	fprintf(stderr,
 -		"usage: mktemp [-d] [-q] [-t prefix] [-u] [template ...]\n");
 +		"usage: mktemp [-d] [-q] [-u] template [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008042040.NAA21274>