Lines Matching refs:arg
964 int arg = 1; in main() local
971 while(argc > arg) { in main()
972 if(!strcmp("--version", argv[arg])) { in main()
982 else if(!strcmp("--pidfile", argv[arg])) { in main()
983 arg++; in main()
984 if(argc > arg) in main()
985 pidname = argv[arg++]; in main()
987 else if(!strcmp("--portfile", argv[arg])) { in main()
988 arg++; in main()
989 if(argc > arg) in main()
990 portname = argv[arg++]; in main()
992 else if(!strcmp("--config", argv[arg])) { in main()
993 arg++; in main()
994 if(argc > arg) in main()
995 configfile = argv[arg++]; in main()
997 else if(!strcmp("--backend", argv[arg])) { in main()
998 arg++; in main()
999 if(argc > arg) in main()
1000 backendaddr = argv[arg++]; in main()
1002 else if(!strcmp("--backendport", argv[arg])) { in main()
1003 arg++; in main()
1004 if(argc > arg) in main()
1005 backendport = (unsigned short)atoi(argv[arg++]); in main()
1007 else if(!strcmp("--logfile", argv[arg])) { in main()
1008 arg++; in main()
1009 if(argc > arg) in main()
1010 serverlogfile = argv[arg++]; in main()
1012 else if(!strcmp("--reqfile", argv[arg])) { in main()
1013 arg++; in main()
1014 if(argc > arg) in main()
1015 reqlogfile = argv[arg++]; in main()
1017 else if(!strcmp("--ipv6", argv[arg])) { in main()
1022 arg++; in main()
1024 else if(!strcmp("--ipv4", argv[arg])) { in main()
1029 arg++; in main()
1031 else if(!strcmp("--unix-socket", argv[arg])) { in main()
1032 arg++; in main()
1033 if(argc > arg) { in main()
1036 unix_socket = argv[arg]; in main()
1046 arg++; in main()
1049 else if(!strcmp("--port", argv[arg])) { in main()
1050 arg++; in main()
1051 if(argc > arg) { in main()
1053 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main()
1055 arg++; in main()