Lines Matching defs:args
102 "usage: curlx args\n",
284 char **args = argv + 1;
306 while(*args && *args[0] == '-') {
307 if(!strcmp (*args, "-in")) {
308 if(args[1]) {
309 infile=*(++args);
314 else if(!strcmp (*args, "-out")) {
315 if(args[1]) {
316 outfile=*(++args);
321 else if(!strcmp (*args, "-p12")) {
322 if(args[1]) {
323 p.p12file = *(++args);
328 else if(strcmp(*args, "-envpass") == 0) {
329 if(args[1]) {
330 p.pst = getenv(*(++args));
335 else if(strcmp(*args, "-connect") == 0) {
336 if(args[1]) {
337 hostporturl = *(++args);
342 else if(strcmp(*args, "-mimetype") == 0) {
343 if(args[1]) {
344 mimetype = *(++args);
349 else if(strcmp(*args, "-acceptmime") == 0) {
350 if(args[1]) {
351 mimetypeaccept = *(++args);
356 else if(strcmp(*args, "-accesstype") == 0) {
357 if(args[1]) {
358 if((p.accesstype = OBJ_obj2nid(OBJ_txt2obj(*++args, 0))) == 0)
364 else if(strcmp(*args, "-verbose") == 0) {
369 args++;