diff options
author | Jeff Garzik <jeff@garzik.org> | 2011-01-29 00:28:19 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2011-01-29 00:28:19 -0500 |
commit | e41171424ab1c4430f78f81b08797ab79e8ddd9a (patch) | |
tree | 50cb520a5cc30c6f9d338158bc267bb46b9fdb55 /cpu-miner.c | |
parent | fd19172c5028d0f8b521a433ea8be3993ed9a9e8 (diff) |
Fix non-working short options -q and -r N, by listing them in optstring.
Diffstat (limited to 'cpu-miner.c')
-rw-r--r-- | cpu-miner.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |