From 04344f8af2c40a7e9d9b261a6a10fcd49100094a Mon Sep 17 00:00:00 2001 From: pooler Date: Wed, 6 Nov 2013 15:34:43 +0100 Subject: [PATCH] Expand the description of the --config option --- minerd.1 | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/minerd.1 b/minerd.1 index 9ed0b69..6747122 100644 --- a/minerd.1 +++ b/minerd.1 @@ -78,14 +78,27 @@ SHA-256d (used by Bitcoin) Run in offline benchmark mode. .TP \fB\-B\fR, \fB\-\-background\fR -Fork and run in the background. +Run in the background as a daemon. .TP \fB\-\-cert\fR=\fIFILE\fR Set a SSL certificate to use with the mining server. Only supported when using the HTTPS protocol. .TP \fB\-c\fR, \fB\-\-config\fR=\fIFILE\fR -Load options from a JSON-format configuration file. +Load options from a configuration file. +\fIFILE\fR must contain a JSON object +mapping long options to their arguments (as strings), +or to \fBtrue\fR if no argument is required. +Sample configuration file: + +.nf + { + "url": "stratum+tcp://example.com:3333", + "userpass": "foo:bar", + "retry-pause": "10", + "quiet": true + } +.fi .TP \fB\-D\fR, \fB\-\-debug\fR Enable debug output.