Expand the description of the --config option
This commit is contained in:
parent
68f6edb74f
commit
04344f8af2
1 changed files with 15 additions and 2 deletions
17
minerd.1
17
minerd.1
|
@ -78,14 +78,27 @@ SHA-256d (used by Bitcoin)
|
||||||
Run in offline benchmark mode.
|
Run in offline benchmark mode.
|
||||||
.TP
|
.TP
|
||||||
\fB\-B\fR, \fB\-\-background\fR
|
\fB\-B\fR, \fB\-\-background\fR
|
||||||
Fork and run in the background.
|
Run in the background as a daemon.
|
||||||
.TP
|
.TP
|
||||||
\fB\-\-cert\fR=\fIFILE\fR
|
\fB\-\-cert\fR=\fIFILE\fR
|
||||||
Set a SSL certificate to use with the mining server.
|
Set a SSL certificate to use with the mining server.
|
||||||
Only supported when using the HTTPS protocol.
|
Only supported when using the HTTPS protocol.
|
||||||
.TP
|
.TP
|
||||||
\fB\-c\fR, \fB\-\-config\fR=\fIFILE\fR
|
\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
|
.TP
|
||||||
\fB\-D\fR, \fB\-\-debug\fR
|
\fB\-D\fR, \fB\-\-debug\fR
|
||||||
Enable debug output.
|
Enable debug output.
|
||||||
|
|
Loading…
Reference in a new issue