fprintf(stderr, "\n%-15s Create CRL\n", "-G"); fprintf(stderr, "%-15s Modify CRL\n", "-M"); fprintf(stderr, "%-20s Specify crl initialization file\n", "-c crl-conf-file"); fprintf(stderr, "%-20s Specify the nickname of the CA certificate\n", "-n nickname"); fprintf(stderr, "%-20s Specify the file which contains the CRL to import\n", "-i crl"); fprintf(stderr, "%-20s Specify a CRL output file\n", "-o crl-output-file"); fprintf(stderr, "%-20s Specify to use base64 encoded CRL output format\n", "-a"); fprintf(stderr, "%-20s Key database directory (default is ~/.netscape)\n", "-d keydir"); fprintf(stderr, "%-20s Provide path to a default pwd file\n", "-f pwd-file"); fprintf(stderr, "%-20s Provide db password in command line\n", "-w pwd-string"); fprintf(stderr, "%-20s Cert & Key database prefix (default is \"\")\n", "-P dbprefix"); fprintf(stderr, "%-20s Specify the url.\n", "-u url"); fprintf(stderr, "\n%-20s Bypass CA certificate checks.\n", "-B");
static void Usage(char *progName){    fprintf(stderr,	    "Usage:  %s -L [-n nickname] [-d keydir] [-P dbprefix] [-t crlType]\n"	    "        %s -D -n nickname [-d keydir] [-P dbprefix]\n"	    "        %s -I -i crl -t crlType [-u url] [-d keydir] [-P dbprefix] [-B]\n"	    "        %s -E -t crlType [-d keydir] [-P dbprefix]\n"	    "        %s -T\n", progName, progName, progName, progName, progName);    fprintf (stderr, "%-15s List CRL\n", "-L");    fprintf(stderr, "%-20s Specify the nickname of the CA certificate\n",	    "-n nickname");    fprintf(stderr, "%-20s Key database directory (default is ~/.netscape)\n",	    "-d keydir");    fprintf(stderr, "%-20s Cert & Key database prefix (default is \"\")\n",	    "-P dbprefix");       fprintf (stderr, "%-15s Delete a CRL from the cert database\n", "-D");        fprintf(stderr, "%-20s Specify the nickname for the CA certificate\n",	    "-n nickname");    fprintf(stderr, "%-20s Specify the crl type.\n", "-t crlType");    fprintf(stderr, "%-20s Key database directory (default is ~/.netscape)\n",	    "-d keydir");    fprintf(stderr, "%-20s Cert & Key database prefix (default is \"\")\n",	    "-P dbprefix");    fprintf (stderr, "%-15s Erase all CRLs of specified type from hte cert database\n", "-E");    fprintf(stderr, "%-20s Specify the crl type.\n", "-t crlType");    fprintf(stderr, "%-20s Key database directory (default is ~/.netscape)\n",	    "-d keydir");    fprintf(stderr, "%-20s Cert & Key database prefix (default is \"\")\n",	    "-P dbprefix");    fprintf (stderr, "%-15s Import a CRL to the cert database\n", "-I");        fprintf(stderr, "%-20s Specify the file which contains the CRL to import\n",	    "-i crl");    fprintf(stderr, "%-20s Specify the url.\n", "-u url");    fprintf(stderr, "%-20s Specify the crl type.\n", "-t crlType");    fprintf(stderr, "%-20s Key database directory (default is ~/.netscape)\n",	    "-d keydir");    fprintf(stderr, "%-20s Cert & Key database prefix (default is \"\")\n",	    "-P dbprefix");#ifdef DEBUG    fprintf (stderr, "%-15s Test . Only for debugging purposes. See source code\n", "-T");#endif    fprintf(stderr, "%-20s CRL Types (default is SEC_CRL_TYPE):\n", " ");    fprintf(stderr, "%-20s \t 0 - SEC_KRL_TYPE\n", " ");    fprintf(stderr, "%-20s \t 1 - SEC_CRL_TYPE\n", " ");            fprintf(stderr, "\n%-20s Bypass CA certificate checks.\n", "-B");    fprintf(stderr, "\n%-20s Partial decode for faster operation.\n", "-p");    fprintf(stderr, "%-20s Repeat the operation.\n", "-r <iterations>");    exit(-1);}