mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 19:52:44 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=86404
@ -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