Commit 122c1fddf7ed08f568f86580aaa72d8b328a713d

Kano 2014-02-14T15:23:11

cgminer -h crash fix

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index 35540b7..88212be 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -1212,7 +1212,7 @@ static struct opt_table opt_config_table[] = {
 		     set_balance, &pool_strategy,
 		     "Change multipool strategy from failover to even share balance"),
 	OPT_WITH_ARG("--benchfile",
-			opt_set_charp, opt_show_charp, &opt_benchfile,
+			opt_set_charp, NULL, &opt_benchfile,
 			"Run cgminer in benchmark mode using a work file - produces no shares"),
 	OPT_WITHOUT_ARG("--benchfile-display",
 			opt_set_bool, &opt_benchfile_display,