Lines Matching refs:argv
20 static int usbip_help(int argc, char *argv[]);
21 static int usbip_version(int argc, char *argv[]);
36 int (*fn)(int argc, char *argv[]);
93 static int usbip_help(int argc, char *argv[]) in usbip_help() argument
99 if (argc > 1 && argv++) { in usbip_help()
101 if (!strcmp(cmds[i].name, argv[0]) && cmds[i].usage) { in usbip_help()
118 static int usbip_version(int argc, char *argv[]) in usbip_version() argument
121 (void) argv; in usbip_version()
127 static int run_command(const struct command *cmd, int argc, char *argv[]) in run_command() argument
130 return cmd->fn(argc, argv); in run_command()
133 int main(int argc, char *argv[]) in main() argument
149 opt = getopt_long(argc, argv, "+dlt:", opts, NULL); in main()
175 cmd = argv[optind]; in main()
180 argv += optind; in main()
182 rc = run_command(&cmds[i], argc, argv); in main()