From: Bernd Arnold Date: Fri, 22 Jan 2021 12:11:08 +0000 (+0100) Subject: Fix help text for carbon-instance X-Git-Tag: dnsdist-1.6.0-alpha1~19^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F10001%2Fhead;p=thirdparty%2Fpdns.git Fix help text for carbon-instance "the the" When running `pdns_recursor --help`, or `pdns_server --help`: --carbon-instance=... If set overwrites the the instance name default --- diff --git a/pdns/common_startup.cc b/pdns/common_startup.cc index fa00fb1d9f..fe21fa06a1 100644 --- a/pdns/common_startup.cc +++ b/pdns/common_startup.cc @@ -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"; diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index f7b7e203d2..6a124c5ab7 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -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")="";