Date: Mon, 7 Aug 2000 02:10:04 -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: <200008070910.CAA39169@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: Sheldon Hearn <sheldonh@uunet.co.za> Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: bin/18667: mktemp(1) binary, or manpage / usage() is incorrect Date: Mon, 07 Aug 2000 11:02:30 +0200 At Mon, 07 Aug 2000 10:54:30 +0200, Sheldon Hearn wrote: > The optional nature of arguments implied by ellipsis is implicit. ;-) Ok, a new try :-) /Johan K 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/07 08:59:28 @@ -42,9 +42,13 @@ .Nm mktemp .Op Fl d .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: 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/07 08:59:55 @@ -145,6 +145,8 @@ usage() { fprintf(stderr, - "usage: mktemp [-d] [-q] [-t prefix] [-u] [template ...]\n"); + "usage: mktemp [-d] [-q] [-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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008070910.CAA39169>