Home | History | Annotate | Download | only in lib

Lines Matching refs:error_exit

85 //     ! More than one in group is error   [!abc] means -ab calls error_exit()
139 error_exit("Unknown option %s", gof->arg);
166 if (bad) error_exit("No '%c' with '%c'", opt->c, bad->c);
190 if (opt->c != -1) error_exit("%s-%c", s, opt->c);
193 error_exit("%s--%.*s", s, lo->len, lo->str);
207 if (l < opt->val[0].l) error_exit("-%c < %ld", opt->c, opt->val[0].l);
208 if (l > opt->val[1].l) error_exit("-%c > %ld", opt->c, opt->val[1].l);
216 error_exit("-%c < %lf", opt->c, (double)opt->val[0].f);
218 error_exit("-%c > %lf", opt->c, (double)opt->val[1].f);
277 if (CFG_TOYBOX_DEBUG && !*end) error_exit("(longopt) didn't end");
297 error_exit("multiple types %c:%c%c", new->c, new->type, *options);
308 } else if (CFG_TOYBOX_DEBUG) error_exit("<>= only after .#");
344 if (CFG_TOYBOX_DEBUG && *options != '[') error_exit("trailing %s", options);
347 if (CFG_TOYBOX_DEBUG && idx == -1) error_exit("[ needs +-!");
349 error_exit("empty []");
356 if (CFG_TOYBOX_DEBUG && !*options) error_exit("[ without ]");
365 error_exit("[] unknown target %c", *options);
478 error_exit("Need%s %d argument%s", letters[!!(gof.minargs-1)],
481 error_exit("Max %d argument%s", gof.maxargs, letters[!(gof.maxargs-1)]);
490 error_exit("Needs %s-%s", s[1] ? "one of " : "", needs);