diff options
author | Matt Corallo <git@bluematt.me> | 2016-12-24 11:28:44 -0500 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2016-12-27 13:52:07 +0100 |
commit | c2f61bebb190258753714b29ab2041e80651cec9 (patch) | |
tree | 5242c7209483c676c4549c61556fd5f86202bd2c /src/util.h | |
parent | 4e048142a5e45d622355dad92ade192ad4769ca3 (diff) |
Add a ForceSetArg method for testing
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h index 88f8bb1beb..f030dbbb26 100644 --- a/src/util.h +++ b/src/util.h @@ -175,6 +175,9 @@ bool SoftSetArg(const std::string& strArg, const std::string& strValue); */ bool SoftSetBoolArg(const std::string& strArg, bool fValue); +// Forces a arg setting, used only in testing +void ForceSetArg(const std::string& strArg, const std::string& strValue); + /** * Format a string to be used as group of options in help messages * |