Lines Matching defs:argv
637 main(int argc, char *argv[])
647 programName = argv[0];
649 if ((argc < 2) || (strcmp(argv[1], "--help") == 0)) {
650 usage(argv[0]);
658 d.authFile = argv[1];
666 if (argv[2] && strcmp(argv[2], "-auth") == 0) {
667 if (argv[3]) {
668 au_name = argv[3];
671 fprintf(stderr, "%s: -auth requires an argument\n", argv[0]);
672 usage(argv[0]);
676 else if (argv[2]) {
677 fprintf(stderr, "%s: unrecognized option %s\n", argv[0], argv[2]);
678 usage(argv[0]);
687 fprintf(stderr, "%s: -auth: unrecognized protocol %s\n", argv[0],
689 usage(argv[0]);