Home
last modified time | relevance | path

Searched refs:help_exit (Results 1 – 25 of 28) sorted by relevance

12

/external/toybox/toys/pending/
Droute.c200 if (!argv[1]) help_exit(0); in get_next_params()
210 if (addr_mask) help_exit("dup netmask"); in get_next_params()
220 } else help_exit("dup gw"); in get_next_params()
233 else help_exit("no '%s'", *argv); in get_next_params()
264 if (!action || !*argv) help_exit("setroute"); in setroute()
267 if (!*argv) help_exit("setroute"); in setroute()
327 if (!argv[1]) help_exit(0); in get_next_params_inet6()
338 } else help_exit(0); in get_next_params_inet6()
341 } else help_exit(0); in get_next_params_inet6()
354 if (!action || !*argv) help_exit(0); in setroute_inet6()
[all …]
Dchrt.c71 if (!*toys.optargs) help_exit("missing priority"); in chrt_main()
72 if (TT.pid && *(toys.optargs+1)) help_exit("-p and command"); in chrt_main()
73 if (!TT.pid && !*(toys.optargs+1)) help_exit("missing command"); in chrt_main()
Dwget.c137 if (!(toys.optflags & FLAG_f)) help_exit("no filename"); in wget_main()
140 if(!toys.optargs[0]) help_exit("no URL"); in wget_main()
Dcrontab.c350 help_exit("file name must be specified for replace"); in crontab_main()
357 if (FLAG_elr) help_exit("no arguments permitted after this option"); in crontab_main()
Dbrctl.c323 if (toys.optc < t->nargs) help_exit("check args"); in brctl_main()
330 if (i == ARRAY_LEN(cc)) help_exit("invalid option '%s'", *toys.optargs); in brctl_main()
Dgroupadd.c66 help_exit("options, user and group can't be together"); in groupadd_main()
Dipcrm.c86 if (toys.optc) help_exit("unknown argument: %s", *toys.optargs); in ipcrm_main()
Dip.c516 if ((idx = substring_to_idx(*argv++, vlan_optlist)) == -1) help_exit(0); in vlan_parse_opt()
519 if (!*argv) help_exit(0); in vlan_parse_opt()
525 if ((idx = substring_to_idx(*argv, vlan_protolist)) == -1) help_exit(0); in vlan_parse_opt()
533 if ((param = substring_to_idx(*argv, on_off)) == -1) help_exit(0); in vlan_parse_opt()
647 if ((idx = substring_to_idx(*argv++, cmd_objectlist)) == -1) help_exit(0); in link_set()
656 if (!*argv) help_exit(0); in link_set()
667 } else help_exit(0); in link_set()
939 help_exit(0); in iplink()
1430 help_exit(0); in ipaddr()
2756 if (!*++optargv) help_exit(0); in ip_main()
[all …]
Duseradd.c49 if (toys.optflags) help_exit("options with USER GROUP");
Dtftpd.c245 if (getsockname(0, (struct sockaddr *)&srcaddr, &socklen)) help_exit(0); in tftpd_main()
Dipcs.c428 else help_exit(0); in ipcs_main()
Dmodprobe.c509 help_exit("bad syntax"); in modprobe_main()
Dfdisk.c156 help_exit("bad sector size"); in read_sec_sz()
1489 if (toys.optc != 1) help_exit(stdout); in fdisk_main()
/external/toybox/toys/other/
Dlsattr.c208 help_exit("bad '%c'", ch); in get_flag_val()
228 if (!arg) help_exit("bad -v"); in parse_cmdline_arg()
308 if (!*argv) help_exit("no file"); in chattr_main()
Dblockdev.c46 if (!toys.optflags) help_exit("need --option");
Dsysctl.c152 if (!*toys.optargs) help_exit(0); in sysctl_main()
Dlosetup.c184 help_exit("needs %d arg%s", 1+!!file, file ? "s" : ""); in losetup_main()
/external/autotest/client/cros/cellular/pseudomodem/
Dclient.py269 def help_exit(self): member in PseudoModemClient
276 help_EOF = help_exit
/external/toybox/toys/lsb/
Dkillall.c86 if (!(toys.optflags & FLAG_l) && !toys.optc) help_exit("no name"); in killall_main()
/external/toybox/toys/net/
Difconfig.c409 if (!sock->sa_family || !argv[1]) help_exit("bad hw '%s'", *argv); in ifconfig_main()
450 if (!argv[1]) help_exit("%s", *argv); in ifconfig_main()
517 if (i == sizeof(try)/sizeof(*try)) help_exit("bad argument '%s'", *argv); in ifconfig_main()
Dnetcat.c103 help_exit("bad argument count"); in netcat_main()
/external/toybox/toys/posix/
Dkill.c139 if (!*args) help_exit("missing argument");
/external/autotest/client/cros/nfc/
Dconsole.py657 def help_exit(self): member in NfcConsole
662 help_EOF = help_exit
/external/toybox/
Dmain.c132 if ((which->flags & TOYFLAG_NEEDROOT) && euid) help_exit("Not root"); in toy_init()
/external/toybox/lib/
Dlib.h182 void help_exit(char *msg, ...) printf_format noreturn;

12