Home | History | Annotate | Download | only in pending

Lines Matching full:optargs

146         resolve_host(toys.optargs[0], &sa);
162 if (!toys.optargs[1]) error_exit("bad syntax");
164 if (!(toys.optflags & FLAG_D)) get_hw_add(toys.optargs[1], (char*)&req.arp_ha.sa_data);
168 xstrncpy(ifre.ifr_name, toys.optargs[1], IFNAMSIZ);
176 if (toys.optargs[2]) check_flags(&flags, (toys.optargs+2));
181 if (toys.optflags & FLAG_v) xprintf("Entry set for %s\n", toys.optargs[0]);
205 if (toys.optargs[1]) check_flags(&flags, (toys.optargs+1));
210 if (toys.optflags & FLAG_v) xprintf("Delete entry for %s\n", toys.optargs[0]);
239 if (!toys.optargs[0]) error_exit("host name req");
240 resolve_host(toys.optargs[0], &sa);
252 if (toys.optargs[0]) {
253 resolve_host(toys.optargs[0], &sa);
266 || (toys.optargs[0] && strcmp(host_ip, ip))) {