From 1bccf6a52d7fc08d8f605cfb2edc3277ec299c72 Mon Sep 17 00:00:00 2001 From: Sjors Provoost Date: Sat, 24 Aug 2019 22:31:56 +0200 Subject: [node] add forceSetArg to interface --- src/interfaces/node.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/interfaces/node.h') diff --git a/src/interfaces/node.h b/src/interfaces/node.h index b93b52c5cc..649c0568e2 100644 --- a/src/interfaces/node.h +++ b/src/interfaces/node.h @@ -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; -- cgit v1.2.3