diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-05-09 14:33:55 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-05-09 14:34:49 -0400 |
commit | fc642cbdad6e5bef42dddfbb0b76e662a6a5de6c (patch) | |
tree | de7d02bcfe19bafb3faf0f220a35b303fbfc3ba8 /src/interfaces/node.h | |
parent | 08c1caf863656e8c4302f0ff392772f0055760e5 (diff) | |
parent | 4d4185a4f0e40c033a587871839a47cb3f89ee93 (diff) | |
download | bitcoin-fc642cbdad6e5bef42dddfbb0b76e662a6a5de6c.tar.xz |
Merge #13190: Have gArgs handle printing help
4d4185a4f0 Make gArgs aware of the arguments (Andrew Chow)
Pull request description:
Instead of each binary generating and printing it's own help string, have gArgs know what the args are and generate the help string.
This is the first commit of #13112 pulled out.
Tree-SHA512: d794c872b834bc56c78d947549f9cf046a8174984ab0c7b4ba06bc51d36dca11a4ed88afafe76bb4f776cdba042e17e30b9c2ed7b195bef7df77a1327823f989
Diffstat (limited to 'src/interfaces/node.h')
-rw-r--r-- | src/interfaces/node.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/interfaces/node.h b/src/interfaces/node.h index d9a48e2563..2a1a8152df 100644 --- a/src/interfaces/node.h +++ b/src/interfaces/node.h @@ -7,7 +7,6 @@ #include <addrdb.h> // For banmap_t #include <amount.h> // For CAmount -#include <init.h> // For HelpMessageMode #include <net.h> // For CConnman::NumConnections #include <netaddress.h> // For Network @@ -83,8 +82,8 @@ public: //! Return whether shutdown was requested. virtual bool shutdownRequested() = 0; - //! Get help message string. - virtual std::string helpMessage(HelpMessageMode mode) = 0; + //! Setup arguments + virtual void setupServerArgs() = 0; //! Map port. virtual void mapPort(bool use_upnp) = 0; |