From c2778d9fa34aa98668d33e2e16ca27b3f2e5ccf7 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Wed, 17 Jun 2015 10:29:39 +0100 Subject: [PATCH] improve -neg-ttl usage message --- prog/weavedns/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prog/weavedns/main.go b/prog/weavedns/main.go index e915905c..f22ef8e5 100644 --- a/prog/weavedns/main.go +++ b/prog/weavedns/main.go @@ -55,7 +55,7 @@ func main() { flag.BoolVar(&watch, "watch", true, "watch the docker socket for container events") flag.BoolVar(&debug, "debug", false, "output debugging info to stderr") // advanced options - flag.IntVar(&negTTL, "neg-ttl", 0, "negative TTL (in secs) for unanswered queries for local names") + flag.IntVar(&negTTL, "neg-ttl", 0, "negative TTL (in secs) for unanswered queries for local names (0=same value as -ttl") flag.IntVar(&refreshInterval, "refresh", weavedns.DefaultRefreshInterval, "refresh interval (in secs) for local names (0=disable)") flag.IntVar(&maxAnswers, "max-answers", weavedns.DefaultMaxAnswers, "maximum number of answers returned to clients (0=unlimited)") flag.IntVar(&relevantTime, "relevant", weavedns.DefaultRelevantTime, "life time for info in the absence of queries (in secs)")