|
|
@@ -2360,9 +2360,9 @@ static struct opt_table opt_config_table[] = {
|
|
|
OPT_WITHOUT_ARG("--per-device-stats",
|
|
|
opt_set_bool, &want_per_device_stats,
|
|
|
"Force verbose mode and output per-device statistics"),
|
|
|
- OPT_WITH_ARG("--userpass|-O", // duplicate to ensure config loads it before pool-priority
|
|
|
+ OPT_WITH_ARG("--userpass|-O",
|
|
|
set_userpass, NULL, NULL,
|
|
|
- opt_hidden),
|
|
|
+ "Username:Password pair for bitcoin JSON-RPC server"),
|
|
|
OPT_WITH_ARG("--pool-priority",
|
|
|
set_pool_priority, NULL, NULL,
|
|
|
"Priority for just the previous-defined pool"),
|
|
|
@@ -2540,9 +2540,6 @@ static struct opt_table opt_config_table[] = {
|
|
|
#endif
|
|
|
OPT_WITHOUT_ARG("--unittest",
|
|
|
opt_set_bool, &opt_unittest, opt_hidden),
|
|
|
- OPT_WITH_ARG("--userpass|-O",
|
|
|
- set_userpass, NULL, NULL,
|
|
|
- "Username:Password pair for bitcoin JSON-RPC server"),
|
|
|
OPT_WITH_ARG("--coinbase-check-addr",
|
|
|
set_cbcaddr, NULL, NULL,
|
|
|
"A list of address to check against in coinbase payout list received from the previous-defined pool, separated by ','"),
|