svn commit: r300057 - stable/10/sbin/reboot
Renato Botelho
garga at FreeBSD.org
Tue May 17 14:52:07 UTC 2016
Author: garga (ports committer)
Date: Tue May 17 14:52:05 2016
New Revision: 300057
URL: https://svnweb.freebsd.org/changeset/base/300057
Log:
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
Modified:
stable/10/sbin/reboot/reboot.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sbin/reboot/reboot.c
==============================================================================
--- stable/10/sbin/reboot/reboot.c Tue May 17 14:10:45 2016 (r300056)
+++ stable/10/sbin/reboot/reboot.c Tue May 17 14:52:05 2016 (r300057)
@@ -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-stable
mailing list