Home
last modified time | relevance | path

Searched refs:OptionIndex (Results 1 – 1 of 1) sorted by relevance

/curl/docs/examples/
H A Dsynctime.c255 int OptionIndex = 0; in main() local
256 while(OptionIndex < argc) { in main()
257 if(strncmp(argv[OptionIndex], "--server=", 9) == 0) in main()
258 snprintf(conf->timeserver, MAX_STRING, "%s", &argv[OptionIndex][9]); in main()
260 if(strcmp(argv[OptionIndex], "--showall") == 0) in main()
263 if(strcmp(argv[OptionIndex], "--synctime") == 0) in main()
266 if(strncmp(argv[OptionIndex], "--proxy-user=", 13) == 0) in main()
269 if(strncmp(argv[OptionIndex], "--proxy=", 8) == 0) in main()
272 if((strcmp(argv[OptionIndex], "--help") == 0) || in main()
273 (strcmp(argv[OptionIndex], "/?") == 0)) { in main()
[all …]

Completed in 5 milliseconds