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/init.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'src/init.h') diff --git a/src/init.h b/src/init.h index 000c8c95e4..5423a042a6 100644 --- a/src/init.h +++ b/src/init.h @@ -8,6 +8,7 @@ #include #include +#include class CScheduler; class CWallet; @@ -60,14 +61,11 @@ bool AppInitLockDataDirectory(); */ bool AppInitMain(); -/** The help message mode determines what help message to show */ -enum class HelpMessageMode { - BITCOIND, - BITCOIN_QT -}; +/** + * Setup the arguments for gArgs + */ +void SetupServerArgs(); -/** Help for options shared between UI and daemon (for -help) */ -std::string HelpMessage(HelpMessageMode mode); /** Returns licensing information (for -version) */ std::string LicenseInfo(); -- cgit v1.2.3