Commit 32ffc623 authored by David Symonds's avatar David Symonds

flag: describe valid input for Duration flags.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5639046
parent 9ce23548
......@@ -49,6 +49,7 @@
Integer flags accept 1234, 0664, 0x1234 and may be negative.
Boolean flags may be 1, 0, t, f, true, false, TRUE, FALSE, True, False.
Duration flags accept any input valid for time.ParseDuration.
The default set of command-line flags is controlled by
top-level functions. The FlagSet type allows one to define
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment