svn commit: r195200 - in head/usr.sbin: . wake
Thomas Backman
serenity at exscape.org
Tue Jun 30 20:18:15 UTC 2009
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
More information about the svn-src-all
mailing list