Lines Matching refs:arg
935 int arg = 1; in main() local
937 while(argc > arg) { in main()
938 if(!strcmp("--version", argv[arg])) { in main()
948 else if(!strcmp("--pidfile", argv[arg])) { in main()
949 arg++; in main()
950 if(argc > arg) in main()
951 pidname = argv[arg++]; in main()
953 else if(!strcmp("--portfile", argv[arg])) { in main()
954 arg++; in main()
955 if(argc > arg) in main()
956 portname = argv[arg++]; in main()
958 else if(!strcmp("--config", argv[arg])) { in main()
959 arg++; in main()
960 if(argc > arg) in main()
961 configfile = argv[arg++]; in main()
963 else if(!strcmp("--logfile", argv[arg])) { in main()
964 arg++; in main()
965 if(argc > arg) in main()
966 serverlogfile = argv[arg++]; in main()
968 else if(!strcmp("--logdir", argv[arg])) { in main()
969 arg++; in main()
970 if(argc > arg) in main()
971 logdir = argv[arg++]; in main()
973 else if(!strcmp("--ipv6", argv[arg])) { in main()
978 arg++; in main()
980 else if(!strcmp("--ipv4", argv[arg])) { in main()
986 arg++; in main()
988 else if(!strcmp("--port", argv[arg])) { in main()
989 arg++; in main()
990 if(argc > arg) { in main()
992 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main()
993 if((endptr != argv[arg] + strlen(argv[arg])) || in main()
996 argv[arg]); in main()
1000 arg++; in main()