Browse Source

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

Jeff Garzik 15 years ago
parent
commit
e41171424a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cpu-miner.c

+ 1 - 1
cpu-miner.c

@@ -432,7 +432,7 @@ static void parse_cmdline(int argc, char *argv[])
 	int key;
 
 	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)
 			break;