summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2016-05-17 14:52:05 +0000
committergarga <garga@FreeBSD.org>2016-05-17 14:52:05 +0000
commite948bacfe5cecb866959cb6f8eae6bd32fd5688b (patch)
treedbcdc9a683c215745c0e216e3d606b0ab71d8fce /sbin
parentc97f6b764e10bc4d52df8a083f623575b5a0cf37 (diff)
downloadFreeBSD-src-e948bacfe5cecb866959cb6f8eae6bd32fd5688b.zip
FreeBSD-src-e948bacfe5cecb866959cb6f8eae6bd32fd5688b.tar.gz
MFC r299196:
Add missing parameters -N and -l to reroot and halt usage() Approved by: bapt Sponsored by: Rubicon Communications (Netgate) Differential Revision: https://reviews.freebsd.org/D6173
Diffstat (limited to 'sbin')
-rw-r--r--sbin/reboot/reboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/reboot/reboot.c b/sbin/reboot/reboot.c
index 961ba41..51b7515 100644
--- a/sbin/reboot/reboot.c
+++ b/sbin/reboot/reboot.c
@@ -248,8 +248,8 @@ usage(void)
{
(void)fprintf(stderr, dohalt ?
- "usage: halt [-lnpq] [-k kernel]\n" :
- "usage: reboot [-dlnpq] [-k kernel]\n");
+ "usage: halt [-lNnpq] [-k kernel]\n" :
+ "usage: reboot [-dlNnpqr] [-k kernel]\n");
exit(1);
}
OpenPOWER on IntegriCloud