Home | History | Annotate | Download | only in apps

Lines Matching refs:argv

112 int MAIN(int argc, char **argv)
145 prog=argv[0];
147 argv++;
150 if (strcmp(*argv,"-inform") == 0)
153 informat=str2fmt(*(++argv));
155 else if (strcmp(*argv,"-outform") == 0)
158 outformat=str2fmt(*(++argv));
160 else if (strcmp(*argv,"-in") == 0)
163 infile= *(++argv);
165 else if (strcmp(*argv,"-out") == 0)
168 outfile= *(++argv);
171 else if(strcmp(*argv, "-engine") == 0)
174 engine = *(++argv);
178 else if(strcmp(*argv, "-timebomb") == 0)
181 timebomb = atoi(*(++argv));
184 else if (strcmp(*argv,"-text") == 0)
186 else if (strcmp(*argv,"-C") == 0)
188 else if (strcmp(*argv,"-genkey") == 0)
193 else if (strcmp(*argv,"-rand") == 0)
196 inrand= *(++argv);
199 else if (strcmp(*argv,"-noout") == 0)
201 else if (sscanf(*argv,"%d",&num) == 1)
209 BIO_printf(bio_err,"unknown option %s\n",*argv);
214 argv++;