Date: Tue, 13 Nov 2001 21:54:24 +0100 (CET) From: Cyrille Lefevre <clefevre@citeweb.net> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/31956: kenv usage string looks ugly Message-ID: <200111132054.fADKsOj53033@gits.dyndns.org>
index | next in thread | raw e-mail
>Number: 31956
>Category: bin
>Synopsis: kenv usage string looks ugly
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Nov 13 13:00:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Cyrille Lefevre
>Release: FreeBSD 4.4-STABLE i386
>Organization:
ACME
>Environment:
System: FreeBSD gits 4.4-STABLE FreeBSD 4.4-STABLE #10: Sat Nov 10 19:15:45 CET 2001 root@gits:/disk2/4.x-stable/src/sys/compile/CUSTOM i386
>Description:
all is in the subject.
>How-To-Repeat:
# kenv -?
kenv: usage: [-h] [variable]
>Fix:
Index: kenv.c
===================================================================
RCS file: /home/ncvs/src/usr.bin/kenv/kenv.c,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 kenv.c
--- kenv.c 2000/08/08 19:24:23 1.1.2.1
+++ kenv.c 2001/11/13 20:48:56
@@ -38,7 +38,8 @@
static void
usage(void)
{
- errx(1, "usage: [-h] [variable]");
+ (void)fprintf(stderr, "usage: kenv [-h] [variable]\n");
+ exit(1);
}
int
>Release-Note:
>Audit-Trail:
>Unformatted:
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?200111132054.fADKsOj53033>
