svn commit: r299196 - head/sbin/reboot
Renato Botelho
garga at FreeBSD.org
Fri May 6 20:49:15 UTC 2016
Author: garga (ports committer)
Date: Fri May 6 20:49:14 2016
New Revision: 299196
URL: https://svnweb.freebsd.org/changeset/base/299196
Log:
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
Modified:
head/sbin/reboot/reboot.c
Modified: head/sbin/reboot/reboot.c
==============================================================================
--- head/sbin/reboot/reboot.c Fri May 6 20:32:39 2016 (r299195)
+++ head/sbin/reboot/reboot.c Fri May 6 20:49:14 2016 (r299196)
@@ -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);
}
More information about the svn-src-all
mailing list