Skip to content

Commit 46bfbe7

Browse files
committed
Merge #5809: Add bitcoin-cli man page
96c19a3 Add bitcoin-cli man page (Ciemon)
2 parents 25d713c + 96c19a3 commit 46bfbe7

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

contrib/debian/bitcoind.manpages

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
debian/manpages/bitcoind.1
22
debian/manpages/bitcoin.conf.5
3+
debian/manpages/bitcoin-cli.1
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
.TH BITCOIN-CLI "1" "February 2015" "bitcoin-cli 0.10"
2+
.SH NAME
3+
bitcoin-cli \- a remote procedure call client for Bitcoin Core.
4+
.SH SYNOPSIS
5+
bitcoin-cli [options] <command> [params] \- Send command to Bitcoin Core.
6+
.TP
7+
bitcoin-cli [options] help \- Asks Bitcoin Core for a list of supported commands.
8+
.SH DESCRIPTION
9+
This manual page documents the bitcoin-cli program. bitcoin-cli is an RPC client used to send commands to Bitcoin Core.
10+
11+
.SH OPTIONS
12+
.TP
13+
\fB\-?\fR
14+
Show the help message.
15+
.TP
16+
\fB\-conf=\fR<file>
17+
Specify configuration file (default: bitcoin.conf).
18+
.TP
19+
\fB\-datadir=\fR<dir>
20+
Specify data directory.
21+
.TP
22+
\fB\-testnet\fR
23+
Connect to a Bitcoin Core instance running in testnet mode.
24+
.TP
25+
\fB\-regtest\fR
26+
Connect to a Bitcoin Core instance running in regtest mode (see documentation for -regtest on bitcoind).
27+
.TP
28+
\fB\-rpcuser=\fR<user>
29+
Username for JSON\-RPC connections.
30+
.TP
31+
\fB\-rpcpassword=\fR<pw>
32+
Password for JSON\-RPC connections.
33+
.TP
34+
\fB\-rpcport=\fR<port>
35+
Listen for JSON\-RPC connections on <port> (default: 8332 or testnet: 18332).
36+
.TP
37+
\fB\-rpcconnect=\fR<ip>
38+
Send commands to node running on <ip> (default: 127.0.0.1).
39+
.TP
40+
\fB\-rpcssl\fR=\fI1\fR
41+
Use OpenSSL (https) for JSON\-RPC connections (see the Bitcoin Wiki for SSL setup instructions).
42+
43+
.SH "SEE ALSO"
44+
\fBbitcoind\fP, \fBbitcoin.conf\fP
45+
.SH AUTHOR
46+
This manual page was written by Ciemon Dunville <[email protected]>. Permission is granted to copy, distribute and/or modify this document under the terms of the MIT License.
47+
48+
The complete text of the MIT License can be found on the web at \fIhttp://opensource.org/licenses/MIT\fP.

0 commit comments

Comments
 (0)