Lines Matching refs:long_opts
423 struct option const long_opts[], in util_usage() argument
439 for (i = 0; long_opts[i].name; ++i) { in util_usage()
441 int l = strlen(long_opts[i].name) + 1; in util_usage()
442 if (long_opts[i].has_arg == a_argument) in util_usage()
448 for (i = 0; long_opts[i].name; ++i) { in util_usage()
453 if (long_opts[i].val > '~') in util_usage()
456 fprintf(fp, " -%c, ", long_opts[i].val); in util_usage()
459 if (long_opts[i].has_arg == no_argument) in util_usage()
460 fprintf(fp, "--%-*s", optlen, long_opts[i].name); in util_usage()
462 fprintf(fp, "--%s %s%*s", long_opts[i].name, a_arg, in util_usage()
463 (int)(optlen - strlen(long_opts[i].name) - a_arg_len), ""); in util_usage()