diff options
| author | Andrew Chow <[email protected]> | 2018-04-28 16:54:58 -0400 |
|---|---|---|
| committer | Andrew Chow <[email protected]> | 2018-05-09 12:21:05 -0400 |
| commit | 4d4185a4f0e40c033a587871839a47cb3f89ee93 (patch) | |
| tree | de7d02bcfe19bafb3faf0f220a35b303fbfc3ba8 /src/chainparamsbase.h | |
| parent | Merge #13185: Bugfix: the end of a reorged chain is invalid when connect fails (diff) | |
| download | discoin-4d4185a4f0e40c033a587871839a47cb3f89ee93.tar.xz discoin-4d4185a4f0e40c033a587871839a47cb3f89ee93.zip | |
Make gArgs aware of the arguments
gArgs knows what the available arguments are and their help. Getting
the help message is moved to gArgs and HelpMessage() is removed
Diffstat (limited to 'src/chainparamsbase.h')
| -rw-r--r-- | src/chainparamsbase.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/chainparamsbase.h b/src/chainparamsbase.h index 5b11f3677..9f8bbafcd 100644 --- a/src/chainparamsbase.h +++ b/src/chainparamsbase.h @@ -40,10 +40,9 @@ private: std::unique_ptr<CBaseChainParams> CreateBaseChainParams(const std::string& chain); /** - * Append the help messages for the chainparams options to the - * parameter string. + *Set the arguments for chainparams */ -void AppendParamsHelpMessages(std::string& strUsage, bool debugHelp=true); +void SetupChainParamsBaseOptions(); /** * Return the currently selected parameters. This won't change after app |