]> Cypherpunks repositories - gostls13.git/commit
flag: make zero FlagSet useful
authorRuss Cox <rsc@golang.org>
Thu, 15 Sep 2011 21:04:51 +0000 (17:04 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 15 Sep 2011 21:04:51 +0000 (17:04 -0400)
commit1505cae05de98bcd399698d6461d15d88dc33d71
tree7b1c639b49880278df33cbc5ad3b016fc2d3a436
parentbb0c8b3b6638be30c534445a7bf3c3e6a07ee44a
flag: make zero FlagSet useful

This makes it possible to use a FlagSet as a
field in a larger struct.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5036041
src/pkg/flag/flag.go
src/pkg/flag/flag_test.go