Lines Matching refs:argv
24 extern int handle_command_help(int argc, char *argv[], int arg_start);
26 extern int handle_command_dump(int argc, char *argv[], int arg_start);
28 extern int handle_command_create(int argc, char *argv[], int arg_start);
30 extern int handle_command_cfg_create(int argc, char *argv[], int arg_start);
36 int (*handler)(int argc, char *argv[], int arg_start);
92 int handle_command_help(int argc, char *argv[], int arg_start) { in handle_command_help() argument
93 const char *prog_name = argv[0]; in handle_command_help()
100 if (strcmp(argv[arg_start], "all") == 0) { in handle_command_help()
105 const struct command_info *info = search_command(argv[arg_start]); in handle_command_help()
116 int main(int argc, char *argv[]) { in main() argument
118 output_all_usage(stderr, argv[0]); in main()
122 const char *command = argv[1]; in main()
129 return info->handler(argc, argv, 2); in main()