Changeset View
Changeset View
Standalone View
Standalone View
src/util/system.h
Show First 20 Lines • Show All 315 Lines • ▼ Show 20 Lines | public: | ||||
} | } | ||||
/** | /** | ||||
* Get the help string | * Get the help string | ||||
*/ | */ | ||||
std::string GetHelpMessage() const; | std::string GetHelpMessage() const; | ||||
/** | /** | ||||
* Check whether we know of this arg | * Return Flags for known arg. | ||||
* Return ArgsManager::NONE for unknown arg. | |||||
*/ | */ | ||||
bool IsArgKnown(const std::string &key) const; | unsigned int FlagsOfKnownArg(const std::string &key) const; | ||||
}; | }; | ||||
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); | ||||
▲ Show 20 Lines • Show All 87 Lines • Show Last 20 Lines |