Lines Matching refs:short_name
23 fprintf(stderr, " Error: switch `%c' %s", opt->short_name, reason); in opterror()
41 fprintf(stderr, " Warning: switch `%c' %s", opt->short_name, reason); in optwarning()
87 if (((flags & OPT_SHORT) && p->excl_opt->short_name) || in get_value()
90 p->excl_opt->short_name); in get_value()
349 if (options->short_name == *p->opt) { in parse_short_opt()
615 if ((excl_short_opt && ctx->excl_opt->short_name) || in parse_options_step()
617 char opt = ctx->excl_opt->short_name; in parse_options_step()
713 if (opts->short_name) in print_option_help()
714 pos += fprintf(stderr, "-%c", opts->short_name); in print_option_help()
718 if (opts->long_name && opts->short_name) in print_option_help()
789 int sa = tolower(a->short_name), sb = tolower(b->short_name), ret; in option__cmp()
847 if (arg[0] == opt->short_name) in option__in_argv()
861 if (arg[1] == opt->short_name || in option__in_argv()
960 if (opts->short_name == *optstr) { in parse_options_usage()
990 else if (opt->short_name == 'v') { in parse_opt_verbosity_cb()
1008 if ((shortopt && opts->short_name == shortopt) || in find_option()