From b97fc0885a01162c0380f2463225a4dca1a033ea Mon Sep 17 00:00:00 2001 From: Kano Date: Fri, 14 Feb 2014 15:23:11 +1100 Subject: [PATCH] cgminer -h crash fix --- sgminer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sgminer.c b/sgminer.c index 7d8a83dd..c36985d8 100644 --- a/sgminer.c +++ b/sgminer.c @@ -1119,7 +1119,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,