Lines Matching refs:arg
556 int arg = 1; in main() local
567 while(argc > arg) { in main()
568 if(!strcmp("--version", argv[arg])) { in main()
578 else if(!strcmp("--pidfile", argv[arg])) { in main()
579 arg++; in main()
580 if(argc > arg) in main()
581 pidname = argv[arg++]; in main()
583 else if(!strcmp("--portfile", argv[arg])) { in main()
584 arg++; in main()
585 if(argc > arg) in main()
586 portname = argv[arg++]; in main()
588 else if(!strcmp("--logfile", argv[arg])) { in main()
589 arg++; in main()
590 if(argc > arg) in main()
591 serverlogfile = argv[arg++]; in main()
593 else if(!strcmp("--logdir", argv[arg])) { in main()
594 arg++; in main()
595 if(argc > arg) in main()
596 logdir = argv[arg++]; in main()
598 else if(!strcmp("--ipv4", argv[arg])) { in main()
603 arg++; in main()
605 else if(!strcmp("--ipv6", argv[arg])) { in main()
610 arg++; in main()
612 else if(!strcmp("--port", argv[arg])) { in main()
613 arg++; in main()
614 if(argc > arg) { in main()
616 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main()
618 arg++; in main()
621 else if(!strcmp("--srcdir", argv[arg])) { in main()
622 arg++; in main()
623 if(argc > arg) { in main()
624 path = argv[arg]; in main()
625 arg++; in main()