flag: add Duration flag type.
This works in the expected way: flag.Duration returns a *time.Duration, and uses time.ParseDuration for parsing the input. R=golang-dev, r CC=golang-dev https://golang.org/cl/5489113
Showing
Please register or sign in to comment