Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 May 2016 14:52:05 +0000 (UTC)
From:      Renato Botelho <garga@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r300057 - stable/10/sbin/reboot
Message-ID:  <201605171452.u4HEq5ES072026@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605171452.u4HEq5ES072026>