From 4d4185a4f0e40c033a587871839a47cb3f89ee93 Mon Sep 17 00:00:00 2001 From: Andrew Chow Date: Sat, 28 Apr 2018 16:54:58 -0400 Subject: 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 --- src/chainparamsbase.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/chainparamsbase.h') diff --git a/src/chainparamsbase.h b/src/chainparamsbase.h index 5b11f36770..9f8bbafcd5 100644 --- a/src/chainparamsbase.h +++ b/src/chainparamsbase.h @@ -40,10 +40,9 @@ private: std::unique_ptr 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 -- cgit v1.2.3