Lines Matching refs:argv
1353 int main(int argc, char *argv[]) in main() argument
1370 if(!strcmp("--version", argv[arg])) { in main()
1380 else if(!strcmp("--verbose", argv[arg])) { in main()
1384 else if(!strcmp("--pidfile", argv[arg])) { in main()
1387 pidname = argv[arg++]; in main()
1389 else if(!strcmp("--portfile", argv[arg])) { in main()
1392 portname = argv[arg++]; in main()
1394 else if(!strcmp("--logfile", argv[arg])) { in main()
1397 serverlogfile = argv[arg++]; in main()
1399 else if(!strcmp("--ipv6", argv[arg])) { in main()
1406 else if(!strcmp("--ipv4", argv[arg])) { in main()
1414 else if(!strcmp("--bindonly", argv[arg])) { in main()
1418 else if(!strcmp("--port", argv[arg])) { in main()
1422 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main()
1427 else if(!strcmp("--connect", argv[arg])) { in main()
1433 unsigned long ulnum = strtoul(argv[arg], &endptr, 10); in main()
1434 if((endptr != argv[arg] + strlen(argv[arg])) || in main()
1437 argv[arg]); in main()
1444 else if(!strcmp("--addr", argv[arg])) { in main()
1448 addr = argv[arg]; in main()