Changeset View
Changeset View
Standalone View
Standalone View
src/util/system.h
Show First 20 Lines • Show All 359 Lines • ▼ Show 20 Lines | |||||
extern ArgsManager gArgs; | extern ArgsManager gArgs; | ||||
/** | /** | ||||
* @return true if help has been requested via a command-line arg | * @return true if help has been requested via a command-line arg | ||||
*/ | */ | ||||
bool HelpRequested(const ArgsManager &args); | bool HelpRequested(const ArgsManager &args); | ||||
/** Add help options to the args manager */ | |||||
void SetupHelpOptions(ArgsManager &args); | |||||
/** | /** | ||||
* Format a string to be used as group of options in help messages. | * Format a string to be used as group of options in help messages. | ||||
* | * | ||||
* @param message Group name (e.g. "RPC server options:") | * @param message Group name (e.g. "RPC server options:") | ||||
* @return the formatted string | * @return the formatted string | ||||
*/ | */ | ||||
std::string HelpMessageGroup(const std::string &message); | std::string HelpMessageGroup(const std::string &message); | ||||
▲ Show 20 Lines • Show All 76 Lines • Show Last 20 Lines |