/third_party/toybox/toys/pending/ |
D | route.c | 199 if (!argv[1]) help_exit(0); in get_next_params() 209 if (addr_mask) help_exit("dup netmask"); in get_next_params() 219 } else help_exit("dup gw"); in get_next_params() 232 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() 355 if (!action || !*argv) help_exit(0); in setroute_inet6() [all …]
|
D | ip.c | 567 if ((idx = substring_to_idx(*argv++, vlan_optlist)) == -1) help_exit(0); in vlan_parse_opt() 570 if (!*argv) help_exit(0); in vlan_parse_opt() 576 if ((idx = substring_to_idx(*argv, vlan_protolist)) == -1) help_exit(0); in vlan_parse_opt() 584 if ((param = substring_to_idx(*argv, on_off)) == -1) help_exit(0); in vlan_parse_opt() 698 if ((idx = substring_to_idx(*argv++, cmd_objectlist)) == -1) help_exit(0); in link_set() 707 if (!*argv) help_exit(0); in link_set() 718 } else help_exit(0); in link_set() 990 help_exit(0); in iplink() 1481 help_exit(0); in ipaddr() 2862 if (!*++optargv) help_exit(0); in ip_main() [all …]
|
D | brctl.c | 323 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()
|
D | crontab.c | 353 help_exit("file name must be specified for replace"); in crontab_main() 360 if (FLAG_elr) help_exit("no arguments permitted after this option"); in crontab_main()
|
D | ipcrm.c | 86 if (toys.optc) help_exit("unknown argument: %s", *toys.optargs); in ipcrm_main()
|
D | groupadd.c | 66 help_exit("options, user and group can't be together"); in groupadd_main()
|
D | useradd.c | 49 if (toys.optflags) help_exit("options with USER GROUP");
|
/third_party/toybox/lib/ |
D | args.c | 140 help_exit("Unknown option '%s'", gof->arg); in gotflag() 167 if (bad) help_exit("No '%c' with '%c'", opt->c, bad->c); in gotflag() 191 if (opt->c != -1) help_exit("%s-%c", s, opt->c); in gotflag() 194 help_exit("%s--%.*s", s, lo->len, lo->str); in gotflag() 208 if (l < opt->val[0].l) help_exit("-%c < %ld", opt->c, opt->val[0].l); in gotflag() 209 if (l > opt->val[1].l) help_exit("-%c > %ld", opt->c, opt->val[1].l); in gotflag() 217 help_exit("-%c < %lf", opt->c, (double)opt->val[0].f); in gotflag() 219 help_exit("-%c > %lf", opt->c, (double)opt->val[1].f); in gotflag() 483 help_exit("Need%s %d argument%s", letters[!!(gof.minargs-1)], in get_optflags() 486 help_exit("Max %d argument%s", gof.maxargs, letters[!(gof.maxargs-1)]); in get_optflags() [all …]
|
/third_party/toybox/toys/other/ |
D | chrt.c | 84 if (!*toys.optargs) help_exit("no PRIORITY"); in chrt_main() 86 help_exit("need 1 of -p or COMMAND"); in chrt_main()
|
D | lsattr.c | 208 help_exit("bad '%c'", ch); in get_flag_val() 228 if (!arg) help_exit("bad -v"); in parse_cmdline_arg() 306 if (!*argv) help_exit("no file"); in chattr_main()
|
D | i2ctools.c | 198 if (toys.optc!=1 && toys.optc!=3) help_exit("Needs 1 or 3 arguments"); in i2cdetect_main() 296 if (strlen(mode)!=1) help_exit("mode too long"); in i2cset_main() 309 } else help_exit("syntax error"); in i2cset_main()
|
D | blockdev.c | 47 if (!toys.optflags) help_exit("need --option");
|
D | sysctl.c | 152 if (!*toys.optargs) help_exit("Needs 1 arg"); in sysctl_main()
|
D | losetup.c | 190 help_exit("needs %d arg%s", 1+!!file, file ? "s" : ""); in losetup_main()
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
D | du.c | 140 if (toys.optc < 1) help_exit(0); in du_main() 143 help_exit("Directory size statistics are not supported"); in du_main()
|
D | kill.c | 139 if (!*args) help_exit("missing argument");
|
D | rm.c | 141 if (!toys.optc && !FLAG(f)) help_exit("Needs 1 argument"); in rm_main()
|
/third_party/toybox/toys/posix/ |
D | getconf.c | 219 if (toys.optc<1) help_exit(0); in getconf_main() 235 if (toys.optc!=2) help_exit("%s needs a path", name); in getconf_main() 236 } else if (toys.optc!=1) help_exit("%s does not take a path", name); in getconf_main()
|
D | ln.c | 45 if (FLAG(T) && toys.optc>1) help_exit("Max 2 arguments");
|
D | rm.c | 95 if (!toys.optc && !FLAG(f)) help_exit("Needs 1 argument"); in rm_main()
|
D | kill.c | 143 if (!*args) help_exit("missing argument");
|
/third_party/toybox/toys/net/ |
D | ifconfig.c | 439 if (!sock->sa_family || !argv[1]) help_exit("bad hw '%s'", *argv); in ifconfig_main() 480 if (!argv[1]) help_exit("%s", *argv); in ifconfig_main() 547 if (i == ARRAY_LEN(try)) help_exit("bad argument '%s'", *argv); in ifconfig_main()
|
/third_party/toybox/porting/liteos_a/toys/net/ |
D | ifconfig.c | 452 if (!sock->sa_family || !argv[1]) help_exit("bad hw '%s'", *argv); in ifconfig_main() 493 if (!argv[1]) help_exit("%s", *argv); in ifconfig_main() 560 if (i == ARRAY_LEN(try)) help_exit("bad argument '%s'", *argv); in ifconfig_main()
|
/third_party/toybox/porting/liteos_a/toys/lsb/ |
D | umount.c | 83 help_exit("Need 1 arg or -a"); in umount_main()
|
/third_party/toybox/toys/lsb/ |
D | killall.c | 94 if (!toys.optc) help_exit("no name"); in killall_main()
|