flag: handle multiple calls to flag.Parse

R=r
CC=golang-dev
https://golang.org/cl/3071041
3 files changed