From 86d34996b481cf713395229e187811443bf0ce1d Mon Sep 17 00:00:00 2001 From: David Symonds Date: Wed, 11 Jun 2014 16:29:36 +1000 Subject: [PATCH] Change flag.Duration descriptions to be unit-free. flag.Duration permits different durations, not just seconds. --- cmd/cloudcfg/cloudcfg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cloudcfg/cloudcfg.go b/cmd/cloudcfg/cloudcfg.go index e185a6fd1b..5f87ba1f76 100644 --- a/cmd/cloudcfg/cloudcfg.go +++ b/cmd/cloudcfg/cloudcfg.go @@ -36,7 +36,7 @@ var ( httpServer = flag.String("h", "", "The host to connect to.") config = flag.String("c", "", "Path to the config file.") labelQuery = flag.String("l", "", "Label query to use for listing") - updatePeriod = flag.Duration("u", 60*time.Second, "Update interarrival in seconds") + updatePeriod = flag.Duration("u", 60*time.Second, "Update interarrival period") portSpec = flag.String("p", "", "The port spec, comma-separated list of :,...") servicePort = flag.Int("s", -1, "If positive, create and run a corresponding service on this port, only used with 'run'") authConfig = flag.String("auth", os.Getenv("HOME")+"/.kubernetes_auth", "Path to the auth info file. If missing, prompt the user")