Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/lib/subcmd/
H A Dparse-options.h72 * `argh`::
106 const char *argh; member
139 #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) }
142 .value = check_vtype(v, const char **), .argh =(a), .help = (h), \
146 .value = check_vtype(v, const char **), .argh = (a), .help = (h), \
149 #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}
151 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = "time", .help = (h), .callback = parse_opt_approxidate_cb }
153 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = (a), .help = (h), .callback = (f) }
155 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = (a), .help = (h), .callback = (f), .set = check_vtype(os, bool *)}
157 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh
[all...]
H A Dparse-options.c744 if (opts->argh) { in print_option_help()
747 pos += fprintf(stderr, "[=<%s>]", opts->argh); in print_option_help()
749 pos += fprintf(stderr, "[<%s>]", opts->argh); in print_option_help()
751 pos += fprintf(stderr, " <%s>", opts->argh); in print_option_help()
/kernel/linux/linux-6.6/tools/lib/subcmd/
H A Dparse-options.h68 * `argh`::
102 const char *argh; member
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) { in print_option_help()
747 pos += fprintf(stderr, "[=<%s>]", opts->argh); in print_option_help()
749 pos += fprintf(stderr, "[<%s>]", opts->argh); in print_option_help()
751 pos += fprintf(stderr, " <%s>", opts->argh); in print_option_help()

Completed in 4 milliseconds