Changeset View
Changeset View
Standalone View
Standalone View
src/util/system.h
Show First 20 Lines • Show All 295 Lines • ▼ Show 20 Lines | public: | ||||
std::string GetChainName() const; | std::string GetChainName() const; | ||||
/** | /** | ||||
* Add argument | * Add argument | ||||
*/ | */ | ||||
void AddArg(const std::string &name, const std::string &help, | void AddArg(const std::string &name, const std::string &help, | ||||
unsigned int flags, const OptionsCategory &cat); | unsigned int flags, const OptionsCategory &cat); | ||||
// Remove an arg setting, used only in testing | /** | ||||
void ClearArg(const std::string &strArg); | * Remove a forced arg setting, used only in testing. | ||||
*/ | |||||
void ClearForcedArg(const std::string &strArg); | |||||
/** | /** | ||||
* Add many hidden arguments | * Add many hidden arguments | ||||
*/ | */ | ||||
void AddHiddenArgs(const std::vector<std::string> &args); | void AddHiddenArgs(const std::vector<std::string> &args); | ||||
/** | /** | ||||
* Clear available arguments | * Clear available arguments | ||||
▲ Show 20 Lines • Show All 112 Lines • Show Last 20 Lines |