Lines Matching refs:long_opts
417 struct option const long_opts[], in util_usage() argument
433 for (i = 0; long_opts[i].name; ++i) { in util_usage()
435 int l = strlen(long_opts[i].name) + 1; in util_usage()
436 if (long_opts[i].has_arg == a_argument) in util_usage()
442 for (i = 0; long_opts[i].name; ++i) { in util_usage()
447 if (long_opts[i].val > '~') in util_usage()
450 fprintf(fp, " -%c, ", long_opts[i].val); in util_usage()
453 if (long_opts[i].has_arg == no_argument) in util_usage()
454 fprintf(fp, "--%-*s", optlen, long_opts[i].name); in util_usage()
456 fprintf(fp, "--%s %s%*s", long_opts[i].name, a_arg, in util_usage()
457 (int)(optlen - strlen(long_opts[i].name) - a_arg_len), ""); in util_usage()