| /freebsd-12-stable/contrib/dtc/ |
| D | util.c | 422 const char *short_opts, struct option const long_opts[], in util_usage() argument 438 for (i = 0; long_opts[i].name; ++i) { in util_usage() 440 int l = strlen(long_opts[i].name) + 1; in util_usage() 441 if (long_opts[i].has_arg == a_argument) in util_usage() 447 for (i = 0; long_opts[i].name; ++i) { in util_usage() 452 if (long_opts[i].val > '~') in util_usage() 455 fprintf(fp, " -%c, ", long_opts[i].val); in util_usage() 458 if (long_opts[i].has_arg == no_argument) in util_usage() 459 fprintf(fp, "--%-*s", optlen, long_opts[i].name); in util_usage() 461 fprintf(fp, "--%s %s%*s", long_opts[i].name, a_arg, in util_usage() [all …]
|
| D | util.h | 218 const char *short_opts, struct option const long_opts[],
|
| /freebsd-12-stable/contrib/ofed/infiniband-diags/src/ |
| D | ibdiag_common.c | 82 static struct option *long_opts = NULL; variable 178 struct option *o = long_opts; in ibdiag_show_usage() 184 if (long_opts[0].name) in ibdiag_show_usage() 186 for (o = long_opts; o->name; o++) { in ibdiag_show_usage() 332 struct option *long_opts, *l; in make_long_opts() local 340 long_opts = malloc((sizeof(common_opts) / sizeof(common_opts[0]) + n) * in make_long_opts() 341 sizeof(*long_opts)); in make_long_opts() 342 if (!long_opts) in make_long_opts() 345 l = long_opts; in make_long_opts() 359 return long_opts; in make_long_opts() [all …]
|
| /freebsd-12-stable/usr.bin/head/ |
| D | head.c | 68 static const struct option long_opts[] = variable 85 while ((ch = getopt_long(argc, argv, "+n:c:", long_opts, NULL)) != -1) in main()
|
| /freebsd-12-stable/contrib/xz/src/lzmainfo/ |
| D | lzmainfo.c | 65 static const struct option long_opts[] = { in parse_args() local 72 while ((c = getopt_long(argc, argv, "", long_opts, NULL)) != -1) { in parse_args()
|
| /freebsd-12-stable/usr.bin/cmp/ |
| D | cmp.c | 67 static const struct option long_opts[] = variable 110 while ((ch = getopt_long(argc, argv, "+bhi:ln:sxz", long_opts, NULL)) != -1) in main()
|
| /freebsd-12-stable/contrib/libxo/xopo/ |
| D | xopo.c | 103 static struct option long_opts[] = { variable 128 long_opts, NULL)) != -1) { in main()
|
| /freebsd-12-stable/contrib/xz/src/xzdec/ |
| D | xzdec.c | 99 static const struct option long_opts[] = { in parse_options() local 114 while ((c = getopt_long(argc, argv, short_opts, long_opts, NULL)) in parse_options()
|
| /freebsd-12-stable/usr.bin/tail/ |
| D | tail.c | 69 static const struct option long_opts[] = variable 125 while ((ch = getopt_long(argc, argv, "+Fb:c:fn:qr", long_opts, NULL)) != in main()
|
| /freebsd-12-stable/usr.bin/uniq/ |
| D | uniq.c | 77 static const struct option long_opts[] = variable 111 while ((ch = getopt_long(argc, argv, "+D::cdif:s:u", long_opts, in main()
|
| /freebsd-12-stable/usr.bin/seq/ |
| D | seq.c | 60 static const struct option long_opts[] = variable 113 (c = getopt_long(argc, argv, "+f:hs:t:w", long_opts, NULL)) != -1) { in main()
|
| /freebsd-12-stable/usr.bin/showmount/ |
| D | showmount.c | 106 static const struct option long_opts[] = { variable 131 while ((ch = getopt_long(argc, argv, "+adEe13", long_opts, NULL)) != -1) in main()
|
| /freebsd-12-stable/contrib/libxo/xo/ |
| D | xo.c | 227 static struct option long_opts[] = { variable 264 long_opts, NULL)) != -1) { in main()
|
| /freebsd-12-stable/usr.bin/elfctl/ |
| D | elfctl.c | 80 static struct option long_opts[] = { variable 113 while ((ch = getopt_long(argc, argv, "hile:", long_opts, NULL)) != -1) { in main()
|
| /freebsd-12-stable/contrib/xz/src/xz/ |
| D | args.c | 151 static const struct option long_opts[] = { in parse_real() local 215 while ((c = getopt_long(argc, argv, short_opts, long_opts, NULL)) in parse_real()
|
| /freebsd-12-stable/bin/ls/ |
| D | ls.c | 105 static const struct option long_opts[] = variable 278 "+1ABCD:FGHILPRSTUWXZabcdfghiklmnopqrstuwxy,", long_opts, in main()
|