/freebsd-11-stable/contrib/dtc/ |
H A D | util.c | 422 const char *short_opts, struct option const long_opts[], 438 for (i = 0; long_opts[i].name; ++i) { 440 int l = strlen(long_opts[i].name) + 1; 441 if (long_opts[i].has_arg == a_argument) 447 for (i = 0; long_opts[i].name; ++i) { 452 if (long_opts[i].val > '~') 455 fprintf(fp, " -%c, ", long_opts[i].val); 458 if (long_opts[i].has_arg == no_argument) 459 fprintf(fp, "--%-*s", optlen, long_opts[i].name); 461 fprintf(fp, "--%s %s%*s", long_opts[ 421 util_usage(const char *errmsg, const char *synopsis, const char *short_opts, struct option const long_opts[], const char * const opts_help[]) argument [all...] |
H A D | util.h | 214 * @param long_opts The structure of long options 215 * @param opts_help An array of help strings (should align with long_opts) 218 const char *short_opts, struct option const long_opts[], 241 /* Helper for aligning long_opts array */
|
/freebsd-11-stable/usr.bin/head/ |
H A D | head.c | 66 static const struct option long_opts[] = variable in typeref:struct:option 83 while ((ch = getopt_long(argc, argv, "+n:c:", long_opts, NULL)) != -1)
|
/freebsd-11-stable/usr.bin/cmp/ |
H A D | cmp.c | 61 static const struct option long_opts[] = variable in typeref:struct:option 80 while ((ch = getopt_long(argc, argv, "+hlsxz", long_opts, NULL)) != -1)
|
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/ |
H A D | ibdiag_common.c | 82 static struct option *long_opts = NULL; variable in typeref:struct:option 179 struct option *o = long_opts; 185 if (long_opts[0].name) 187 for (o = long_opts; o->name; o++) { 333 struct option *long_opts, *l; local 341 long_opts = malloc((sizeof(common_opts) / sizeof(common_opts[0]) + n) * 342 sizeof(*long_opts)); 343 if (!long_opts) 346 l = long_opts; 360 return long_opts; [all...] |
/freebsd-11-stable/contrib/xz/src/lzmainfo/ |
H A D | lzmainfo.c | 65 static const struct option long_opts[] = { local 72 while ((c = getopt_long(argc, argv, "", long_opts, NULL)) != -1) {
|
/freebsd-11-stable/contrib/libxo/xopo/ |
H A D | xopo.c | 103 static struct option long_opts[] = { variable in typeref:struct:option 128 long_opts, NULL)) != -1) {
|
/freebsd-11-stable/contrib/xz/src/xzdec/ |
H A D | xzdec.c | 99 static const struct option long_opts[] = { local 114 while ((c = getopt_long(argc, argv, short_opts, long_opts, NULL))
|
/freebsd-11-stable/usr.bin/uniq/ |
H A D | uniq.c | 69 static const struct option long_opts[] = variable in typeref:struct:option 113 while ((ch = getopt_long(argc, argv, "+cdif:s:u", long_opts,
|
/freebsd-11-stable/usr.bin/tail/ |
H A D | tail.c | 67 static const struct option long_opts[] = variable in typeref:struct:option 123 while ((ch = getopt_long(argc, argv, "+Fb:c:fn:qr", long_opts, NULL)) !=
|
/freebsd-11-stable/usr.bin/seq/ |
H A D | seq.c | 60 static const struct option long_opts[] = variable in typeref:struct:option 113 (c = getopt_long(argc, argv, "+f:hs:t:w", long_opts, NULL)) != -1) {
|
/freebsd-11-stable/contrib/libxo/xo/ |
H A D | xo.c | 227 static struct option long_opts[] = { variable in typeref:struct:option 264 long_opts, NULL)) != -1) {
|
/freebsd-11-stable/contrib/xz/src/xz/ |
H A D | args.c | 151 static const struct option long_opts[] = { local 215 while ((c = getopt_long(argc, argv, short_opts, long_opts, NULL))
|