Add -c to the usage statements.

Submitted by: Maxim Konovalov
This commit is contained in:
Warner Losh 2017-10-31 03:39:36 +00:00
parent a32b54357f
commit 25fd081525
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=325206
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);
}