Add OptionsCategory::ELEMENTS

This commit is contained in:
Steven Roose 2018-10-29 19:41:55 +00:00
parent 48e3e957ce
commit 6ba4764d6d
3 changed files with 10 additions and 0 deletions

View file

@ -523,6 +523,12 @@ void SetupServerArgs()
// Add the hidden options
gArgs.AddHiddenArgs(hidden_args);
//
// Elements-specific arguments.
//
}
std::string LicenseInfo()

View file

@ -631,6 +631,9 @@ std::string ArgsManager::GetHelpMessage() const
case OptionsCategory::GUI:
usage += HelpMessageGroup("UI Options:");
break;
case OptionsCategory::ELEMENTS:
usage += HelpMessageGroup("Elements Options:");
break;
case OptionsCategory::COMMANDS:
usage += HelpMessageGroup("Commands:");
break;

View file

@ -130,6 +130,7 @@ enum class OptionsCategory {
BLOCK_CREATION,
RPC,
GUI,
ELEMENTS,
COMMANDS,
REGISTER_COMMANDS,