File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ class NodeImpl : public Node
60
60
return gArgs .ParseParameters (argc, argv, error);
61
61
}
62
62
bool readConfigFiles (std::string& error) override { return gArgs .ReadConfigFiles (error, true ); }
63
+ void forceSetArg (const std::string& arg, const std::string& value) override { gArgs .ForceSetArg (arg, value); }
63
64
bool softSetArg (const std::string& arg, const std::string& value) override { return gArgs .SoftSetArg (arg, value); }
64
65
bool softSetBoolArg (const std::string& arg, bool value) override { return gArgs .SoftSetBoolArg (arg, value); }
65
66
void selectParams (const std::string& network) override { SelectParams (network); }
Original file line number Diff line number Diff line change @@ -44,6 +44,9 @@ class Node
44
44
// ! Set command line arguments.
45
45
virtual bool parseParameters (int argc, const char * const argv[], std::string& error) = 0;
46
46
47
+ // ! Set a command line argument
48
+ virtual void forceSetArg (const std::string& arg, const std::string& value) = 0;
49
+
47
50
// ! Set a command line argument if it doesn't already have a value
48
51
virtual bool softSetArg (const std::string& arg, const std::string& value) = 0;
49
52
You can’t perform that action at this time.
0 commit comments