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

This commit is contained in:
Jeff Garzik 2011-01-29 00:28:19 -05:00 committed by Jeff Garzik
parent fd19172c50
commit e41171424a

View file

@ -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;