Lines Matching refs:argv
470 main (int argc, char *argv[]) in main() argument
482 if (argc > 1 && strcmp (argv[1], "--version") == 0) in main()
494 if (argc > 1 && strcmp (argv[1], "--help") == 0) in main()
509 if (argc > 1 && strncmp (argv[1], "-v", 2) == 0) in main()
511 if (argv[1][2] == '\0') in main()
516 argv += 2; in main()
521 argv += 1; in main()
531 char *argv0 = argv[0]; in main()
532 if (argc > 1 && strncmp (argv[1], "-v", 2) == 0) in main()
534 if (argv[1][2] == '\0') in main()
539 spec = argv[2]; in main()
540 argv += 2; in main()
545 spec = &argv[1][2]; in main()
546 argv += 1; in main()
622 memcpy (&args[3], &argv[1], argc * sizeof (argv[1])); in main()
632 if (argc > 1 && strcmp (argv[1], "-a") == 0) in main()
637 print_all (argv[2]); in main()
643 if (argc > ai && strcmp (argv[ai], "--") == 0) in main()
650 if (strcmp (c->name, argv[ai]) == 0 in main()
652 && strcmp (c->name + 7, argv[ai]) == 0)) in main()
663 value = pathconf (argv[ai + 1], c->call_name); in main()
667 error (3, errno, "pathconf: %s", argv[ai + 1]); in main()
707 error (2, 0, _("Unrecognized variable `%s'"), argv[ai]); in main()