Lines Matching refs:option
9 static int opterror(const struct option *opt, const char *reason, int flags) in opterror()
18 static int get_arg(struct parse_opt_ctx_t *p, const struct option *opt, in get_arg()
36 const struct option *opt, int flags) in get_value()
225 static int parse_short_opt(struct parse_opt_ctx_t *p, const struct option *options) in parse_short_opt()
237 const struct option *options) in parse_long_opt()
240 const struct option *abbrev_option = NULL, *ambiguous_option = NULL; in parse_long_opt()
340 static void check_typos(const char *arg, const struct option *options) in check_typos()
375 const struct option *, int);
378 const struct option *options, in parse_options_step()
494 int parse_options_subcommand(int argc, const char **argv, const struct option *options, in parse_options_subcommand()
550 int parse_options(int argc, const char **argv, const struct option *options, in parse_options()
560 static void print_option_help(const struct option *opts, int full) in print_option_help()
646 const struct option *opts, int full) in usage_with_options_internal()
673 const struct option *opts) in usage_with_options()
681 const struct option *opts, in parse_options_usage()
723 int parse_opt_verbosity_cb(const struct option *opt, in parse_opt_verbosity_cb()
746 void set_option_flag(struct option *opts, int shortopt, const char *longopt, in set_option_flag()