summaryrefslogtreecommitdiff
path: root/src/flag
Commit message (Collapse)AuthorAgeFilesLines
* flag: roll back 156390043 (flag setting)Rob Pike2014-10-202-89/+0
| | | | | | | | | | Shell scripts depend on the old behavior too often. It's too late to make this change. LGTM=bradfitz R=rsc, bradfitz CC=golang-codereviews https://codereview.appspot.com/161890044
* flag: disallow setting flags multiple timesRob Pike2014-10-192-0/+90
| | | | | | | | | | | | | | | This is a day 1 error in the flag package: It did not check that a flag was set at most once on the command line. Because user-defined flags may have more general properties, the check applies only to the standard flag types in this package: bool, string, etc. Fixes issue 8960. LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://codereview.appspot.com/156390043
* flag: allow CommandLine's Usage function to be setRob Pike2014-09-262-6/+19
| | | | | | | | | Fixes issue 7779. LGTM=rsc R=golang-codereviews, rsc CC=golang-codereviews https://codereview.appspot.com/147210043
* build: move package sources from src/pkg to srcRuss Cox2014-09-084-0/+1323
Preparation was in CL 134570043. This CL contains only the effect of 'hg mv src/pkg/* src'. For more about the move, see golang.org/s/go14nopkg.