diff options
| author | James O'Beirne <[email protected]> | 2018-02-05 17:46:06 -0500 |
|---|---|---|
| committer | James O'Beirne <[email protected]> | 2018-02-05 17:48:47 -0500 |
| commit | a1e13055c2c57913d8d57ca0978cef2fec1e6148 (patch) | |
| tree | 7d51432d4768b3b6ce308c2b6ca382b422c6834b /src/bitcoin-cli.cpp | |
| parent | Merge #12330: Reduce scope of cs_main and cs_wallet locks in listtransactions (diff) | |
| download | discoin-a1e13055c2c57913d8d57ca0978cef2fec1e6148.tar.xz discoin-a1e13055c2c57913d8d57ca0978cef2fec1e6148.zip | |
Clarify help messages for path args to mention datadir prefix
Change `-conf`'s and others' help messages to indicate that relative path
values will be prefixed by the datadir path. This behavior is confusing when
attempting to specify a configuration file in the current directory with
`-conf=bitcoin.conf`, but loading the `bitcoin.conf` file in ~/.bitcoin
datadir.
Diffstat (limited to 'src/bitcoin-cli.cpp')
| -rw-r--r-- | src/bitcoin-cli.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoin-cli.cpp b/src/bitcoin-cli.cpp index 1214b548c..8fc708be6 100644 --- a/src/bitcoin-cli.cpp +++ b/src/bitcoin-cli.cpp @@ -35,7 +35,7 @@ std::string HelpMessageCli() std::string strUsage; strUsage += HelpMessageGroup(_("Options:")); strUsage += HelpMessageOpt("-?", _("This help message")); - strUsage += HelpMessageOpt("-conf=<file>", strprintf(_("Specify configuration file (default: %s)"), BITCOIN_CONF_FILENAME)); + strUsage += HelpMessageOpt("-conf=<file>", strprintf(_("Specify configuration file. Relative paths will be prefixed by datadir location. (default: %s)"), BITCOIN_CONF_FILENAME)); strUsage += HelpMessageOpt("-datadir=<dir>", _("Specify data directory")); strUsage += HelpMessageOpt("-getinfo", _("Get general information from the remote server. Note that unlike server-side RPC calls, the results of -getinfo is the result of multiple non-atomic requests. Some entries in the result may represent results from different states (e.g. wallet balance may be as of a different block from the chain state reported)")); AppendParamsHelpMessages(strUsage); |