Changeset View
Changeset View
Standalone View
Standalone View
src/util/system.h
Show First 20 Lines • Show All 291 Lines • ▼ Show 20 Lines | public: | ||||
* invalid combination is given. | * invalid combination is given. | ||||
*/ | */ | ||||
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, | ||||
const bool debug_only, const OptionsCategory &cat); | unsigned int flags, 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 | * Add many hidden arguments | ||||
*/ | */ | ||||
void AddHiddenArgs(const std::vector<std::string> &args); | void AddHiddenArgs(const std::vector<std::string> &args); | ||||
▲ Show 20 Lines • Show All 113 Lines • Show Last 20 Lines |