Lines Matching full:argv
46 static int parse_nofopt(struct genl_util *f, int argc, char **argv)
50 "is unparsable\n", f->name, *argv);
110 int main(int argc, char **argv)
113 if (argv[1][0] != '-')
115 if (matches(argv[1], "-stats") == 0 ||
116 matches(argv[1], "-statistics") == 0) {
118 } else if (matches(argv[1], "-details") == 0) {
120 } else if (matches(argv[1], "-raw") == 0) {
122 } else if (matches(argv[1], "-Version") == 0) {
125 } else if (matches(argv[1], "-help") == 0) {
129 "\"genl -help\".\n", argv[1]);
132 argc--; argv++;
138 a = get_genl_kind(argv[1]);
140 fprintf(stderr,"bad genl %s\n", argv[1]);
144 ret = a->parse_genlopt(a, argc-1, argv+1);