From 0d60fbb2fa5f40382fa260fd039d262bf583406d Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 9 Mar 2014 18:39:30 +0000 Subject: [PATCH 1/1] actually parse -b option --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 8b57a3e..b38b0ce 100644 --- a/main.c +++ b/main.c @@ -728,7 +728,7 @@ static void report(void) { int main(int argc, char **argv) { int opt; - while ((opt = getopt(argc,argv,"j:")) >= 0) { + while ((opt = getopt(argc,argv,"j:b:")) >= 0) { switch (opt) { case 'j': ncpus = atoi(optarg); break; case 'b': set_best(atof(optarg)); break; -- 2.30.2