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
6060 return gArgs .ParseParameters (argc, argv, error);
6161 }
6262 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); }
6364 bool softSetArg (const std::string& arg, const std::string& value) override { return gArgs .SoftSetArg (arg, value); }
6465 bool softSetBoolArg (const std::string& arg, bool value) override { return gArgs .SoftSetBoolArg (arg, value); }
6566 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
4444 // ! Set command line arguments.
4545 virtual bool parseParameters (int argc, const char * const argv[], std::string& error) = 0;
4646
47+ // ! Set a command line argument
48+ virtual void forceSetArg (const std::string& arg, const std::string& value) = 0;
49+
4750 // ! Set a command line argument if it doesn't already have a value
4851 virtual bool softSetArg (const std::string& arg, const std::string& value) = 0;
4952
You can’t perform that action at this time.
0 commit comments