diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2013-12-03 03:47:44 -0800 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2013-12-03 03:47:44 -0800 |
commit | cf74e8cb5eed90cbb14ed40d834c30ef9d37c443 (patch) | |
tree | 115a15599169cb7fbcaa0a76c38c3c444dbaf068 /src/rpcclient.h | |
parent | 0563ee952c299c7b796b787c8b5251beef8bf6ee (diff) | |
parent | 0b47fe6bdc14e942bc886a08a55cc183c6820636 (diff) | |
download | bitcoin-cf74e8cb5eed90cbb14ed40d834c30ef9d37c443.tar.xz |
Merge pull request #3320 from laanwj/2013_11_cli_split
bitcoin-cli: remove unneeded dependencies (only minor code movement)
Diffstat (limited to 'src/rpcclient.h')
-rw-r--r-- | src/rpcclient.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/rpcclient.h b/src/rpcclient.h index f3ea56c25b..e101d22ec5 100644 --- a/src/rpcclient.h +++ b/src/rpcclient.h @@ -14,4 +14,12 @@ int CommandLineRPC(int argc, char *argv[]); json_spirit::Array RPCConvertValues(const std::string &strMethod, const std::vector<std::string> &strParams); +/** Show help message for bitcoin-cli. + * The mainProgram argument is used to determine whether to show this message as main program + * (and include some common options) or as sub-header of another help message. + * + * @note the argument can be removed once bitcoin-cli functionality is removed from bitcoind + */ +std::string HelpMessageCli(bool mainProgram); + #endif |