Add a ForceSetArg method for testing

This commit is contained in:
Matt Corallo
2016-12-24 11:28:44 -05:00
parent 4e048142a5
commit c2f61bebb1
5 changed files with 16 additions and 9 deletions

View File

@@ -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
*