Lines Matching refs:OptionIndex
269 int OptionIndex = 0; in main() local
270 while(OptionIndex < argc) { in main()
271 if(strncmp(argv[OptionIndex], "--server=", 9) == 0) in main()
272 snprintf(conf->timeserver, MAX_STRING, "%s", &argv[OptionIndex][9]); in main()
274 if(strcmp(argv[OptionIndex], "--showall") == 0) in main()
277 if(strcmp(argv[OptionIndex], "--synctime") == 0) in main()
280 if(strncmp(argv[OptionIndex], "--proxy-user=", 13) == 0) in main()
281 snprintf(conf->proxy_user, MAX_STRING, "%s", &argv[OptionIndex][13]); in main()
283 if(strncmp(argv[OptionIndex], "--proxy=", 8) == 0) in main()
284 snprintf(conf->http_proxy, MAX_STRING, "%s", &argv[OptionIndex][8]); in main()
286 if((strcmp(argv[OptionIndex], "--help") == 0) || in main()
287 (strcmp(argv[OptionIndex], "/?") == 0)) { in main()
291 OptionIndex++; in main()