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:
parent
aabb3df7da
commit
ad3f90f6ca
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user