From owner-freebsd-bugs Fri Aug 4 13:40: 7 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id C0BAE37B75B for ; Fri, 4 Aug 2000 13:40:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA21274; Fri, 4 Aug 2000 13:40:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Fri, 4 Aug 2000 13:40:03 -0700 (PDT) Message-Id: <200008042040.NAA21274@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Johan Karlsson Subject: Re: bin/18667: mktemp(1) binary, or manpage / usage() is incorrect Reply-To: Johan Karlsson Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/18667; it has been noted by GNATS. From: Johan Karlsson 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