mirror of https://github.com/k3s-io/k3s
Change flag.Duration descriptions to be unit-free.
flag.Duration permits different durations, not just seconds.pull/6/head
parent
fd5d98f21b
commit
86d34996b4
|
@ -36,7 +36,7 @@ var (
|
||||||
httpServer = flag.String("h", "", "The host to connect to.")
|
httpServer = flag.String("h", "", "The host to connect to.")
|
||||||
config = flag.String("c", "", "Path to the config file.")
|
config = flag.String("c", "", "Path to the config file.")
|
||||||
labelQuery = flag.String("l", "", "Label query to use for listing")
|
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 <external>:<internal>,...")
|
portSpec = flag.String("p", "", "The port spec, comma-separated list of <external>:<internal>,...")
|
||||||
servicePort = flag.Int("s", -1, "If positive, create and run a corresponding service on this port, only used with 'run'")
|
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")
|
authConfig = flag.String("auth", os.Getenv("HOME")+"/.kubernetes_auth", "Path to the auth info file. If missing, prompt the user")
|
||||||
|
|
Loading…
Reference in New Issue