Lines Matching refs:f
51 print_tree(const struct cmd *f) in print_tree() argument
54 if (f->parent != NULL) in print_tree()
55 print_tree(f->parent); in print_tree()
56 if (f->name != NULL) in print_tree()
57 fprintf(stderr, " %s", f->name); in print_tree()
61 print_usage(const struct cmd *f) in print_usage() argument
65 print_tree(f->parent); in print_usage()
66 fprintf(stderr, " %-15s - %s\n", f->name, f->descr); in print_usage()
123 arg_help(int argc __unused, char * const *argv, const struct cmd *f) in arg_help() argument
127 const struct opts *opts = f->opts; in arg_help()
128 const struct args *args = f->args; in arg_help()
134 print_tree(f); in arg_help()
143 fprintf(stderr, "\n\n%s\n", f->descr); in arg_help()
173 arg_parse(int argc, char * const * argv, const struct cmd *f) in arg_parse() argument
179 const struct opts *opts = f->opts; in arg_parse()
180 const struct args *args = f->args; in arg_parse()
220 arg_help(argc, argv, f); in arg_parse()
264 arg_help(argc, argv, f); in arg_parse()