Lines Matching defs:argv
259 int main(int argc, char *argv[])
273 if(strncmp(argv[OptionIndex], "--server=", 9) == 0)
274 snprintf(conf->timeserver, MAX_STRING, "%s", &argv[OptionIndex][9]);
276 if(strcmp(argv[OptionIndex], "--showall") == 0)
279 if(strcmp(argv[OptionIndex], "--synctime") == 0)
282 if(strncmp(argv[OptionIndex], "--proxy-user=", 13) == 0)
283 snprintf(conf->proxy_user, MAX_STRING, "%s", &argv[OptionIndex][13]);
285 if(strncmp(argv[OptionIndex], "--proxy=", 8) == 0)
286 snprintf(conf->http_proxy, MAX_STRING, "%s", &argv[OptionIndex][8]);
288 if((strcmp(argv[OptionIndex], "--help") == 0) ||
289 (strcmp(argv[OptionIndex], "/?") == 0)) {