Home
last modified time | relevance | path

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

/curl/docs/examples/
H A Dsynctime.c271 int OptionIndex = 0; in main() local
272 while(OptionIndex < argc) { in main()
273 if(strncmp(argv[OptionIndex], "--server=", 9) == 0) in main()
274 snprintf(conf->timeserver, MAX_STRING, "%s", &argv[OptionIndex][9]); in main()
276 if(strcmp(argv[OptionIndex], "--showall") == 0) in main()
279 if(strcmp(argv[OptionIndex], "--synctime") == 0) in main()
282 if(strncmp(argv[OptionIndex], "--proxy-user=", 13) == 0) in main()
285 if(strncmp(argv[OptionIndex], "--proxy=", 8) == 0) in main()
288 if((strcmp(argv[OptionIndex], "--help") == 0) || in main()
289 (strcmp(argv[OptionIndex], "/?") == 0)) { in main()
[all …]

Completed in 5 milliseconds