summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorIgor Sobrado <sobrado@cvs.openbsd.org>2009-02-02 22:08:59 +0000
committerIgor Sobrado <sobrado@cvs.openbsd.org>2009-02-02 22:08:59 +0000
commitee584deafdc1f2b98688f9e385ac2df560c58831 (patch)
tree051de3c53791d7949bbf67ebb5f093b32882a882 /usr.sbin
parentb78c53a6122a55ccaffb07338f930fc120d529b7 (diff)
tweak the synopsis and usage, lladdr is not an optional argument.
jmc@ might further improve on it, if needed. ok mbalmer@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/wake/wake.84
-rw-r--r--usr.sbin/wake/wake.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/wake/wake.8 b/usr.sbin/wake/wake.8
index a3fd2f0a7c2..a013d188b31 100644
--- a/usr.sbin/wake/wake.8
+++ b/usr.sbin/wake/wake.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: wake.8,v 1.7 2009/02/02 21:34:56 mbalmer Exp $
+.\" $OpenBSD: wake.8,v 1.8 2009/02/02 22:08:58 sobrado Exp $
.\"
.\" Copyright (c) 2009 Marc Balmer <mbalmer@openbsd.org>
.\"
@@ -23,7 +23,7 @@
.Sh SYNOPSIS
.Nm
.Ar interface
-.Op Ar lladdr ...
+.Ar lladdr ...
.Sh DESCRIPTION
The
.Nm
diff --git a/usr.sbin/wake/wake.c b/usr.sbin/wake/wake.c
index ba4c7254fa4..7a8a02a456f 100644
--- a/usr.sbin/wake/wake.c
+++ b/usr.sbin/wake/wake.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wake.c,v 1.13 2009/02/02 21:29:27 mbalmer Exp $ */
+/* $OpenBSD: wake.c,v 1.14 2009/02/02 22:08:58 sobrado Exp $ */
/*
* Copyright (C) 2006,2007,2008,2009 Marc Balmer <mbalmer@openbsd.org>
@@ -74,7 +74,7 @@ usage(void)
{
extern char *__progname;
- (void)fprintf(stderr, "usage: %s interface lladdr\n", __progname);
+ (void)fprintf(stderr, "usage: %s interface lladdr ...\n", __progname);
exit(0);
}