diff options
author | garga <garga@FreeBSD.org> | 2016-05-06 20:49:14 +0000 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2016-05-06 20:49:14 +0000 |
commit | ba7e6a2566b3700dca86e2cdac309cf9e9f2e44c (patch) | |
tree | c120638b19848e6c70117b489ce030358e4f54b8 /sbin | |
parent | 76759cc2cf85de38f7fa9a52daa6ae5526245262 (diff) | |
download | FreeBSD-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
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/reboot/reboot.c | 4 |
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); } |