Changeset View
Changeset View
Standalone View
Standalone View
src/util/system.h
Show First 20 Lines • Show All 270 Lines • ▼ Show 20 Lines | public: | ||||
*/ | */ | ||||
void AddArg(const std::string &name, const std::string &help, | void AddArg(const std::string &name, const std::string &help, | ||||
const bool debug_only, const OptionsCategory &cat); | const bool debug_only, const OptionsCategory &cat); | ||||
// Remove an arg setting, used only in testing | // Remove an arg setting, used only in testing | ||||
void ClearArg(const std::string &strArg); | void ClearArg(const std::string &strArg); | ||||
/** | /** | ||||
* Add many hidden arguments | |||||
*/ | |||||
void AddHiddenArgs(const std::vector<std::string> &args); | |||||
/** | |||||
* Clear available arguments | * Clear available arguments | ||||
*/ | */ | ||||
void ClearArgs() { | void ClearArgs() { | ||||
LOCK(cs_args); | LOCK(cs_args); | ||||
m_available_args.clear(); | m_available_args.clear(); | ||||
} | } | ||||
/** | /** | ||||
▲ Show 20 Lines • Show All 106 Lines • Show Last 20 Lines |