Lines Matching refs:arg
1065 int arg = 1; in main() local
1069 while(argc > arg) { in main()
1070 if(!strcmp("--version", argv[arg])) { in main()
1082 else if(!strcmp("--pidfile", argv[arg])) { in main()
1083 arg++; in main()
1084 if(argc > arg) in main()
1085 pidname = argv[arg++]; in main()
1087 else if(!strcmp("--portfile", argv[arg])) { in main()
1088 arg++; in main()
1089 if(argc > arg) in main()
1090 portname = argv[arg++]; in main()
1092 else if(!strcmp("--logfile", argv[arg])) { in main()
1093 arg++; in main()
1094 if(argc > arg) in main()
1095 serverlogfile = argv[arg++]; in main()
1097 else if(!strcmp("--logdir", argv[arg])) { in main()
1098 arg++; in main()
1099 if(argc > arg) in main()
1100 logdir = argv[arg++]; in main()
1102 else if(!strcmp("--ipv4", argv[arg])) { in main()
1107 arg++; in main()
1109 else if(!strcmp("--ipv6", argv[arg])) { in main()
1114 arg++; in main()
1116 else if(!strcmp("--port", argv[arg])) { in main()
1117 arg++; in main()
1118 if(argc > arg) { in main()
1120 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main()
1122 arg++; in main()
1125 else if(!strcmp("--srcdir", argv[arg])) { in main()
1126 arg++; in main()
1127 if(argc > arg) { in main()
1128 path = argv[arg]; in main()
1129 arg++; in main()