Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Dec 2009 18:03:17 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r201024 - head/usr.sbin/wake
Message-ID:  <200912261803.nBQI3HBt016987@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rwatson
Date: Sat Dec 26 18:03:16 2009
New Revision: 201024
URL: http://svn.freebsd.org/changeset/base/201024

Log:
  Fix wake(8) synopsis to make it clear that at least one lladdr is required
  as an argument.
  
  Submitted by:	Marc Balmer <marc@msys.ch>
  MFC after:	3 days

Modified:
  head/usr.sbin/wake/wake.8
  head/usr.sbin/wake/wake.c

Modified: head/usr.sbin/wake/wake.8
==============================================================================
--- head/usr.sbin/wake/wake.8	Sat Dec 26 14:39:23 2009	(r201023)
+++ head/usr.sbin/wake/wake.8	Sat Dec 26 18:03:16 2009	(r201024)
@@ -15,7 +15,7 @@
 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 .\"
-.Dd June 27, 2009
+.Dd December 21, 2009
 .Dt WAKE 8
 .Os
 .Sh NAME
@@ -24,6 +24,7 @@
 .Sh SYNOPSIS
 .Nm
 .Ar interface
+.Ar lladdr
 .Op Ar lladdr ...
 .Sh DESCRIPTION
 The

Modified: head/usr.sbin/wake/wake.c
==============================================================================
--- head/usr.sbin/wake/wake.c	Sat Dec 26 14:39:23 2009	(r201023)
+++ head/usr.sbin/wake/wake.c	Sat Dec 26 18:03:16 2009	(r201024)
@@ -62,7 +62,7 @@ static void
 usage(void)
 {
 
-	(void)fprintf(stderr, "usage: wake interface lladdr...\n");
+	(void)fprintf(stderr, "usage: wake interface lladdr [lladdr ...]\n");
 	exit(1);
 }
 



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