Deuglify the usage message by putting the program name after the

"usage:" string.  This is how most (all?) other programs in the system
do it.

PR:		31596
Submitted by:	Cyrille Lefevre <clefevre@citeweb.net>
This commit is contained in:
Dima Dorfman 2001-11-15 15:46:45 +00:00
parent aabb3df7da
commit ad3f90f6ca
2 changed files with 4 additions and 2 deletions

View File

@ -38,7 +38,8 @@ static char sbuf[1024];
static void
usage(void)
{
errx(1, "usage: [-h] [variable]");
(void)fprintf(stderr, "usage: kenv [-h] [variable]\n");
exit(1);
}
int

View File

@ -38,7 +38,8 @@ static char sbuf[1024];
static void
usage(void)
{
errx(1, "usage: [-h] [variable]");
(void)fprintf(stderr, "usage: kenv [-h] [variable]\n");
exit(1);
}
int