Lines Matching refs:argv
20 static int verb_query(int argc, char *argv[], void *userdata) { in verb_query() argument
21 return hwdb_query(argv[1]); in verb_query()
24 static int verb_update(int argc, char *argv[], void *userdata) { in verb_update() argument
56 static int parse_argv(int argc, char *argv[]) { in parse_argv() argument
74 assert(argv); in parse_argv()
76 while ((c = getopt_long(argc, argv, "sr:h", options, NULL)) >= 0) in parse_argv()
107 static int hwdb_main(int argc, char *argv[]) { in hwdb_main() argument
114 return dispatch_verb(argc, argv, verbs, NULL); in hwdb_main()
117 static int run(int argc, char *argv[]) { in run() argument
123 r = parse_argv(argc, argv); in run()
131 return hwdb_main(argc, argv); in run()