mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-07 03:03:58 +01:00
[node] add forceSetArg to interface
This commit is contained in:
@@ -44,6 +44,9 @@ public:
|
||||
//! Set command line arguments.
|
||||
virtual bool parseParameters(int argc, const char* const argv[], std::string& error) = 0;
|
||||
|
||||
//! Set a command line argument
|
||||
virtual void forceSetArg(const std::string& arg, const std::string& value) = 0;
|
||||
|
||||
//! Set a command line argument if it doesn't already have a value
|
||||
virtual bool softSetArg(const std::string& arg, const std::string& value) = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user