Lines Matching refs:argv
259 int main(int argc, char *argv[]) in main() argument
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()
283 snprintf(conf->proxy_user, MAX_STRING, "%s", &argv[OptionIndex][13]); in main()
285 if(strncmp(argv[OptionIndex], "--proxy=", 8) == 0) in main()
286 snprintf(conf->http_proxy, MAX_STRING, "%s", &argv[OptionIndex][8]); in main()
288 if((strcmp(argv[OptionIndex], "--help") == 0) || in main()
289 (strcmp(argv[OptionIndex], "/?") == 0)) { in main()