Lines Matching refs:error_exit
137 error_exit("Unknown option %s", gof->arg); in gotflag()
164 error_exit("No '%c' with '%c'", opt->c, bad->c); in gotflag()
188 if (opt->c != -1) error_exit("%s-%c", s, opt->c); in gotflag()
191 error_exit("%s--%.*s", s, lo->len, lo->str); in gotflag()
205 if (l < opt->val[0].l) error_exit("-%c < %ld", opt->c, opt->val[0].l); in gotflag()
206 if (l > opt->val[1].l) error_exit("-%c > %ld", opt->c, opt->val[1].l); in gotflag()
214 error_exit("-%c < %lf", opt->c, (double)opt->val[0].f); in gotflag()
216 error_exit("-%c > %lf", opt->c, (double)opt->val[1].f); in gotflag()
275 if (CFG_TOYBOX_DEBUG && !*end) error_exit("(longopt) didn't end"); in parse_optflaglist()
295 error_exit("multiple types %c:%c%c", new->c, new->type, *options); in parse_optflaglist()
306 } else if (CFG_TOYBOX_DEBUG) error_exit("<>= only after .#"); in parse_optflaglist()
342 if (CFG_TOYBOX_DEBUG && *options != '[') error_exit("trailing %s", options); in parse_optflaglist()
345 if (CFG_TOYBOX_DEBUG && idx == -1) error_exit("[ needs +-!"); in parse_optflaglist()
347 error_exit("empty []"); in parse_optflaglist()
354 if (CFG_TOYBOX_DEBUG && !*options) error_exit("[ without ]"); in parse_optflaglist()
362 error_exit("[] unknown target %c", *options); in parse_optflaglist()
476 error_exit("Need%s %d argument%s", letters[!!(gof.minargs-1)], in get_optflags()
479 error_exit("Max %d argument%s", gof.maxargs, letters[!(gof.maxargs-1)]); in get_optflags()
488 error_exit("Needs %s-%s", s[1] ? "one of " : "", needs); in get_optflags()