Add missing %s so that all of the usage message gets printed.
Bump WARNS to 6 while I'm here.
This commit is contained in:
parent
dfb3194a21
commit
f2ab33b6eb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129458
@ -2,6 +2,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PROG= id
|
PROG= id
|
||||||
|
WARNS?= 6
|
||||||
LINKS= ${BINDIR}/id ${BINDIR}/groups
|
LINKS= ${BINDIR}/id ${BINDIR}/groups
|
||||||
LINKS+= ${BINDIR}/id ${BINDIR}/whoami
|
LINKS+= ${BINDIR}/id ${BINDIR}/whoami
|
||||||
MAN= id.1 groups.1 whoami.1
|
MAN= id.1 groups.1 whoami.1
|
||||||
|
@ -401,7 +401,7 @@ usage(void)
|
|||||||
else if (iswhoami)
|
else if (iswhoami)
|
||||||
(void)fprintf(stderr, "usage: whoami\n");
|
(void)fprintf(stderr, "usage: whoami\n");
|
||||||
else
|
else
|
||||||
(void)fprintf(stderr, "%s\n%s\n%s\n%s\n%s\n%s\n",
|
(void)fprintf(stderr, "%s\n%s\n%s\n%s\n%s\n%s\n%s\n",
|
||||||
"usage: id [user]",
|
"usage: id [user]",
|
||||||
" id -G [-n] [user]",
|
" id -G [-n] [user]",
|
||||||
" id -M",
|
" id -M",
|
||||||
|
Loading…
Reference in New Issue
Block a user