diff options
author | rwatson <rwatson@FreeBSD.org> | 2009-12-26 18:03:16 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2009-12-26 18:03:16 +0000 |
commit | ef2600f9661bd38393e44c4e5f63c9c0f0d473cd (patch) | |
tree | 88bc919f6e1dcc46bb34cf309d3eaad8f8ca4381 /usr.sbin | |
parent | 0d62d4a33373b58cf73b76900bdc007615662542 (diff) | |
download | FreeBSD-src-ef2600f9661bd38393e44c4e5f63c9c0f0d473cd.zip FreeBSD-src-ef2600f9661bd38393e44c4e5f63c9c0f0d473cd.tar.gz |
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
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/wake/wake.8 | 3 | ||||
-rw-r--r-- | usr.sbin/wake/wake.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/wake/wake.8 b/usr.sbin/wake/wake.8 index bc508da..c73f2bb 100644 --- a/usr.sbin/wake/wake.8 +++ b/usr.sbin/wake/wake.8 @@ -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 diff --git a/usr.sbin/wake/wake.c b/usr.sbin/wake/wake.c index 1a3a65f..1feda96 100644 --- a/usr.sbin/wake/wake.c +++ b/usr.sbin/wake/wake.c @@ -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); } |