Add -c to the usage statements.

Submitted by: Maxim Konovalov
This commit is contained in:
imp 2017-10-31 03:39:36 +00:00
parent d3be981999
commit 8f3502414e
2 changed files with 3 additions and 3 deletions

View File

@ -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);
}

View File

@ -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);
}