aboutsummaryrefslogtreecommitdiff
path: root/src/util/system.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-07-27 14:41:27 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-07-27 22:52:18 +0300
commitdb08edb3038a085d3dbce7bb4ec3c1d9b9a5b281 (patch)
treeb3742e01067366680da9051dab62261b7cd9e0ac /src/util/system.h
parentdde80c272ae584410532f48d23866d7d8581a1cc (diff)
Replace IsArgKnown() with FlagsOfKnownArg()
Diffstat (limited to 'src/util/system.h')
-rw-r--r--src/util/system.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/util/system.h b/src/util/system.h
index 9f8d94f520..75e8096826 100644
--- a/src/util/system.h
+++ b/src/util/system.h
@@ -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;