Lines Matching refs:info
48 const struct command_info *info; in search_command() local
49 for (info = command_infos; info->command != NULL; info++) { in search_command()
50 if (strcmp(command, info->command) == 0) { in search_command()
54 if (info->command == NULL) { in search_command()
58 return info; in search_command()
62 const struct command_info *info; in print_all_commands() local
63 for (info = command_infos; info->command != NULL; info++) { in print_all_commands()
64 if (info != command_infos) { in print_all_commands()
67 fprintf(out_fp, "%s", info->command); in print_all_commands()
78 const struct command_info *info; in output_all_usage() local
79 for (info = command_infos; info->command != NULL; info++) { in output_all_usage()
80 info->usage(out_fp, prog_name); in output_all_usage()
105 const struct command_info *info = search_command(argv[arg_start]); in handle_command_help() local
106 if (info == NULL) { in handle_command_help()
111 info->usage(stdout, prog_name); in handle_command_help()
123 const struct command_info *info = search_command(argv[1]); in main() local
124 if (info == NULL) { in main()
129 return info->handler(argc, argv, 2); in main()