From 099498abbcb675f53d3d7fe9c7f17af9459887d4 Mon Sep 17 00:00:00 2001 From: Ladislav Date: Tue, 13 Aug 2019 15:59:36 +0200 Subject: [PATCH] fixes misleading documentation Fixes misleading documentation for the `setSwitch` function. --- pdns/arguments.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/arguments.hh b/pdns/arguments.hh index 937059584..d91a95a53 100644 --- a/pdns/arguments.hh +++ b/pdns/arguments.hh @@ -104,7 +104,7 @@ public: string &set(const string &); //!< Gives a writable reference and allocates space for it string &set(const string &, const string &); //!< Does the same but also allows one to specify a help message void setCmd(const string &, const string &); //!< Add a command flag - string &setSwitch(const string &, const string &); //!< Add a command flag + string &setSwitch(const string &, const string &); //!< Add a switch flag string helpstring(string prefix=""); //!< generates the --help string configstring(bool current=false); //!< generates the --mkconfig bool contains(const string &var, const string &val); -- 2.40.0