Browse Source

Fix non-working short options -q and -r N, by listing them in optstring.

nfactor-troky
Jeff Garzik 14 years ago committed by Jeff Garzik
parent
commit
e41171424a
  1. 2
      cpu-miner.c

2
cpu-miner.c

@ -432,7 +432,7 @@ static void parse_cmdline(int argc, char *argv[])
int key; int key;
while (1) { while (1) {
key = getopt_long(argc, argv, "a:DPt:h?", options, NULL); key = getopt_long(argc, argv, "a:qDPr:t:h?", options, NULL);
if (key < 0) if (key < 0)
break; break;

Loading…
Cancel
Save