From e41171424ab1c4430f78f81b08797ab79e8ddd9a Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Sat, 29 Jan 2011 00:28:19 -0500 Subject: [PATCH] Fix non-working short options -q and -r N, by listing them in optstring. --- cpu-miner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu-miner.c b/cpu-miner.c index 168daf3..648f4d9 100644 --- a/cpu-miner.c +++ b/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;