Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jun 2009 22:02:19 +0200
From:      Thomas Backman <serenity@exscape.org>
To:        Martin Blapp <mbr@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r195200 - in head/usr.sbin: . wake
Message-ID:  <B1DA797A-3C40-4C39-BACA-90BDA0A55CF2@exscape.org>
In-Reply-To: <200906301851.n5UIpNJQ089171@svn.freebsd.org>
References:  <200906301851.n5UIpNJQ089171@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 30, 2009, at 08:51 PM, Martin Blapp wrote:

>
> +void
> +usage(void)
> +{
> +	(void)fprintf(stderr, "usage: wake interface lladdr\n");
> +	exit(0);
> +}
> [...]
> +	for (n = 2; n < argc; n++)
> +		if (wake(argv[1], argv[n]))
> +			warnx("error sending Wake on LAN frame over %s to %s",
> +			    argv[1], argv[n]);
> +	return 0;
> +}
The usage() function doesn't mention the possibility of specifying  
multiple hosts (although it appears the manual page does mention it).

Regards,
Thomas



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B1DA797A-3C40-4C39-BACA-90BDA0A55CF2>