summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2016-05-06 20:49:14 +0000
committergarga <garga@FreeBSD.org>2016-05-06 20:49:14 +0000
commitba7e6a2566b3700dca86e2cdac309cf9e9f2e44c (patch)
treec120638b19848e6c70117b489ce030358e4f54b8
parent76759cc2cf85de38f7fa9a52daa6ae5526245262 (diff)
downloadFreeBSD-src-ba7e6a2566b3700dca86e2cdac309cf9e9f2e44c.zip
FreeBSD-src-ba7e6a2566b3700dca86e2cdac309cf9e9f2e44c.tar.gz
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
-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