mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
Replace IsArgKnown() with FlagsOfKnownArg()
This commit is contained in:
@@ -293,9 +293,10 @@ public:
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user