Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/wake Fix synopsis to make it clear that at least on...



details:   https://anonhg.NetBSD.org/src/rev/dc312b7fca18
branches:  trunk
changeset: 750226:dc312b7fca18
user:      mbalmer <mbalmer%NetBSD.org@localhost>
date:      Mon Dec 21 08:42:39 2009 +0000

description:
Fix synopsis to make it clear that at least one lladdr is required.

diffstat:

 usr.sbin/wake/wake.8 |  5 +++--
 usr.sbin/wake/wake.c |  5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (45 lines):

diff -r 826619a921ce -r dc312b7fca18 usr.sbin/wake/wake.8
--- a/usr.sbin/wake/wake.8      Mon Dec 21 05:06:55 2009 +0000
+++ b/usr.sbin/wake/wake.8      Mon Dec 21 08:42:39 2009 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: wake.8,v 1.3 2009/08/06 22:01:36 wiz Exp $
+.\" $NetBSD: wake.8,v 1.4 2009/12/21 08:42:39 mbalmer Exp $
 .\"
 .\" Copyright (c) 2009 Marc Balmer <marc%msys.ch@localhost>
 .\"
@@ -14,7 +14,7 @@
 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 .\"
-.Dd February 2, 2009
+.Dd December 21, 2009
 .Dt WAKE 8
 .Os
 .Sh NAME
@@ -23,6 +23,7 @@
 .Sh SYNOPSIS
 .Nm
 .Ar interface
+.Ar lladdr
 .Op Ar lladdr ...
 .Sh DESCRIPTION
 The
diff -r 826619a921ce -r dc312b7fca18 usr.sbin/wake/wake.c
--- a/usr.sbin/wake/wake.c      Mon Dec 21 05:06:55 2009 +0000
+++ b/usr.sbin/wake/wake.c      Mon Dec 21 08:42:39 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wake.c,v 1.8 2009/07/18 08:35:19 mbalmer Exp $ */
+/* $NetBSD: wake.c,v 1.9 2009/12/21 08:42:39 mbalmer Exp $ */
 
 /*
  * Copyright (C) 2006, 2007, 2008, 2009 Marc Balmer <marc%msys.ch@localhost>
@@ -69,7 +69,8 @@
 static void
 usage(void)
 {
-       (void)fprintf(stderr, "usage: %s interface lladdr\n", getprogname());
+       (void)fprintf(stderr, "usage: %s interface lladdr [lladdr ...]\n",
+           getprogname());
        exit(EXIT_FAILURE);
 }
 



Home | Main Index | Thread Index | Old Index