Searched refs:argh (Results 1 - 2 of 2) sorted by relevance

/linux-master/tools/lib/subcmd/
H A Dparse-options.h68 * `argh`::
102 const char *argh; member in struct:option
136 #define OPT_STRING(s, l, v, a, h) { .type = OPTION_STRING, .short_name = (s), .long_name = (l), .value = check_vtype(v, const char **), .argh = (a), .help = (h) }
139 .value = check_vtype(v, const char **), .argh =(a), .help = (h), \
143 .value = check_vtype(v, const char **), .argh = (a), .help = (h), \
146 #define OPT_STRING_NOEMPTY(s, l, v, a, h) { .type = OPTION_STRING, .short_name = (s), .long_name = (l), .value = check_vtype(v, const char **), .argh = (a), .help = (h), .flags = PARSE_OPT_NOEMPTY}
148 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = "time", .help = (h), .callback = parse_opt_approxidate_cb }
150 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = (a), .help = (h), .callback = (f) }
152 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = (a), .help = (h), .callback = (f), .set = check_vtype(os, bool *)}
154 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh
[all...]
H A Dparse-options.c744 if (opts->argh) {
747 pos += fprintf(stderr, "[=<%s>]", opts->argh);
749 pos += fprintf(stderr, "[<%s>]", opts->argh);
751 pos += fprintf(stderr, " <%s>", opts->argh);

Completed in 193 milliseconds