Add -c to the usage statements.
Submitted by: Maxim Konovalov
This commit is contained in:
parent
d3be981999
commit
8f3502414e
@ -259,8 +259,8 @@ usage(void)
|
||||
{
|
||||
|
||||
(void)fprintf(stderr, dohalt ?
|
||||
"usage: halt [-lNnpq] [-k kernel]\n" :
|
||||
"usage: reboot [-dlNnpqr] [-k kernel]\n");
|
||||
"usage: halt [-clNnpq] [-k kernel]\n" :
|
||||
"usage: reboot [-cdlNnpqr] [-k kernel]\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
@ -566,7 +566,7 @@ usage(const char *cp)
|
||||
if (cp != NULL)
|
||||
warnx("%s", cp);
|
||||
(void)fprintf(stderr,
|
||||
"usage: shutdown [-] [-h | -p | -r | -k] [-o [-n]] time [warning-message ...]\n"
|
||||
"usage: shutdown [-] [-c | -h | -p | -r | -k] [-o [-n]] time [warning-message ...]\n"
|
||||
" poweroff\n");
|
||||
exit(1);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user