]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Fix help text for carbon-instance 10001/head
authorBernd Arnold <wopfel@gmail.com>
Fri, 22 Jan 2021 12:11:08 +0000 (13:11 +0100)
committerBernd Arnold <wopfel@gmail.com>
Fri, 22 Jan 2021 12:11:08 +0000 (13:11 +0100)
"the the"

When running `pdns_recursor --help`, or `pdns_server --help`:

  --carbon-instance=...
If set overwrites the the instance name default

pdns/common_startup.cc
pdns/pdns_recursor.cc

index fa00fb1d9f53076f059054a0222b351d70f57363..fe21fa06a1ba7106d972bfad106f4f79ac2dd6f6 100644 (file)
@@ -169,7 +169,7 @@ void declareArguments()
 
   ::arg().set("carbon-namespace", "If set overwrites the first part of the carbon string")="pdns";
   ::arg().set("carbon-ourname", "If set, overrides our reported hostname for carbon stats")="";
-  ::arg().set("carbon-instance", "If set overwrites the the instance name default")="auth";
+  ::arg().set("carbon-instance", "If set overwrites the instance name default")="auth";
   ::arg().set("carbon-server", "If set, send metrics in carbon (graphite) format to this server IP address")="";
   ::arg().set("carbon-interval", "Number of seconds between carbon (graphite) updates")="30";
 
index f7b7e203d25e8efe505f00f63c6b91ccbb03d49c..6a124c5ab7fa06ca268fb6d48226b795616d2f93 100644 (file)
@@ -5271,7 +5271,7 @@ int main(int argc, char **argv)
     ::arg().set("carbon-server", "If set, send metrics in carbon (graphite) format to this server IP address")="";
     ::arg().set("carbon-interval", "Number of seconds between carbon (graphite) updates")="30";
     ::arg().set("carbon-namespace", "If set overwrites the first part of the carbon string")="pdns";
-    ::arg().set("carbon-instance", "If set overwrites the the instance name default")="recursor";
+    ::arg().set("carbon-instance", "If set overwrites the instance name default")="recursor";
 
     ::arg().set("statistics-interval", "Number of seconds between printing of recursor statistics, 0 to disable")="1800";
     ::arg().set("quiet","Suppress logging of questions and answers")="";