Browse Source

Remove regular expression option from oclvanitygen.

master
samr7 13 years ago
parent
commit
dfc1eebeb6
  1. 7
      oclvanitygen.c

7
oclvanitygen.c

@ -49,8 +49,6 @@ usage(const char *name)
"Options:\n" "Options:\n"
"-v Verbose output\n" "-v Verbose output\n"
"-q Quiet output\n" "-q Quiet output\n"
"-r Use regular expression match instead of prefix\n"
" (Feasibility of expression is not checked)\n"
"-i Case-insensitive prefix search\n" "-i Case-insensitive prefix search\n"
"-k Keep pattern and continue search after finding a match\n" "-k Keep pattern and continue search after finding a match\n"
"-N Generate namecoin address\n" "-N Generate namecoin address\n"
@ -103,7 +101,7 @@ main(int argc, char **argv)
const char *key_password = NULL; const char *key_password = NULL;
while ((opt = getopt(argc, argv, while ((opt = getopt(argc, argv,
"vqrikNTX:eE:p:P:d:w:t:g:b:VSh?f:o:s:")) != -1) { "vqikNTX:eE:p:P:d:w:t:g:b:VSh?f:o:s:")) != -1) {
switch (opt) { switch (opt) {
case 'v': case 'v':
verbose = 2; verbose = 2;
@ -111,9 +109,6 @@ main(int argc, char **argv)
case 'q': case 'q':
verbose = 0; verbose = 0;
break; break;
case 'r':
regex = 1;
break;
case 'i': case 'i':
caseinsensitive = 1; caseinsensitive = 1;
break; break;

Loading…
Cancel
Save