From 89d18e14f1fbd568f3e691fff0d84b4102dd5dd2 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Fri, 6 May 2016 20:49:14 +0000 Subject: [PATCH] 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 --- sbin/reboot/reboot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/reboot/reboot.c b/sbin/reboot/reboot.c index 961ba419556..51b751513f5 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); }