Skip to content

Commit 09abccf

Browse files
committed
doc: add bitcoind man description
1 parent 97b790e commit 09abccf

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/bitcoind.cpp

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,18 @@ static bool ProcessInitCommands(ArgsManager& args)
136136
{
137137
// Process help and version before taking care about datadir
138138
if (HelpRequested(args) || args.IsArgSet("-version")) {
139-
std::string strUsage = CLIENT_NAME " version " + FormatFullVersion() + "\n";
139+
std::string strUsage = CLIENT_NAME " daemon version " + FormatFullVersion() + "\n";
140140

141141
if (args.IsArgSet("-version")) {
142142
strUsage += FormatParagraph(LicenseInfo());
143143
} else {
144-
strUsage += "\nUsage: bitcoind [options] Start " CLIENT_NAME "\n"
144+
strUsage += "\n"
145+
"The " CLIENT_NAME " daemon (bitcoind) is a headless program that connects to the Bitcoin network to validate and relay transactions and blocks, as well as relaying addresses.\n\n"
146+
"It provides the backbone of the Bitcoin network and its RPC, REST and ZMQ services can provide various transaction, block and address-related services.\n\n"
147+
"There is an optional wallet component which provides transaction services.\n\n"
148+
"It can be used in a headless environment or as part of a server setup.\n"
149+
"\n"
150+
"Usage: bitcoind [options]\n"
145151
"\n";
146152
strUsage += args.GetHelpMessage();
147153
}

0 commit comments

Comments
 (0)