/external/toybox/lib/ |
D | args.c | 142 help_exit("Unknown option '%s'", gof->arg); in gotflag() 167 if (bad) help_exit("No '%c' with '%c'", opt->c, bad->c); in gotflag() 192 if (opt->c != -1) help_exit("%s-%c", s, opt->c); in gotflag() 195 help_exit("%s--%.*s", s, lo->len, lo->str); in gotflag() 209 if (l < opt->val[0].l) help_exit("-%c < %ld", opt->c, opt->val[0].l); in gotflag() 210 if (l > opt->val[1].l) help_exit("-%c > %ld", opt->c, opt->val[1].l); in gotflag() 218 help_exit("-%c < %lf", opt->c, (double)opt->val[0].f); in gotflag() 220 help_exit("-%c > %lf", opt->c, (double)opt->val[1].f); in gotflag() 486 help_exit("Need%s %d argument%s", letters[!!(gof.minargs-1)], in get_optflags() 489 help_exit("Max %d argument%s", gof.maxargs, letters[!(gof.maxargs-1)]); in get_optflags() [all …]
|
/external/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 | blockdev.c | 47 if (!toys.optflags) help_exit("need --option");
|
D | i2ctools.c | 289 if (strlen(mode) != 1) help_exit("mode too long"); in i2cset_main() 303 help_exit("syntax error"); in i2cset_main()
|
D | lsattr.c | 251 help_exit("bad '%c'", ch); in get_flag_val() 353 if (!*argv) help_exit("no file"); in chattr_main()
|
D | rtcwake.c | 92 } else help_exit("-m %s needs -s or -t", TT.m); in rtcwake_main()
|
D | sysctl.c | 152 if (!*toys.optargs) help_exit("Needs 1 arg"); in sysctl_main()
|
/external/autotest/client/cros/cellular/pseudomodem/ |
D | client.py | 275 def help_exit(self): member in PseudoModemClient 282 help_EOF = help_exit
|
/external/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 | 40 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");
|
D | date.c | 143 if (i<0) help_exit("bad -I: %s", TT.I); in date_main()
|
/external/toybox/toys/pending/ |
D | wget.c | 173 if (!(toys.optflags & FLAG_O)) help_exit("no filename"); in wget_main() 176 if(!toys.optargs[0]) help_exit("no URL"); in wget_main()
|
D | route.c | 262 if (!action || !*argv) help_exit("setroute"); in setroute() 264 if (!*argv) help_exit("setroute"); in setroute() 349 } else help_exit("no '%s'", *argv); in setroute()
|
D | groupadd.c | 66 help_exit("options, user and group can't be together"); in groupadd_main()
|
D | ipcrm.c | 86 if (toys.optc) help_exit("unknown argument: %s", *toys.optargs); in ipcrm_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 | 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 | ip.c | 566 if ((idx = substring_to_idx(*argv++, vlan_optlist)) == -1) help_exit(0); in vlan_parse_opt() 569 if (!*argv) help_exit(0); in vlan_parse_opt() 575 if ((idx = substring_to_idx(*argv, vlan_protolist)) == -1) help_exit(0); in vlan_parse_opt() 583 if ((param = substring_to_idx(*argv, on_off)) == -1) help_exit(0); in vlan_parse_opt() 697 if ((idx = substring_to_idx(*argv++, cmd_objectlist)) == -1) help_exit(0); in link_set() 706 if (!*argv) help_exit(0); in link_set() 717 } else help_exit(0); in link_set() 989 help_exit(0); in iplink() 1480 help_exit(0); in ipaddr() 2861 if (!*++optargv) help_exit(0); in ip_main() [all …]
|
D | useradd.c | 49 if (toys.optflags) help_exit("options with USER GROUP");
|
/external/toybox/ |
D | main.c | 67 help_exit("Unknown command %s", name); in unknown() 134 if ((which->flags & TOYFLAG_NEEDROOT) && euid) help_exit("Not root"); in toy_init()
|
/external/toybox/toys/lsb/ |
D | killall.c | 94 if (!toys.optc) help_exit("no name"); in killall_main()
|
/external/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()
|
D | netcat.c | 111 help_exit("bad argument count"); in netcat_main()
|