summaryrefslogtreecommitdiff
path: root/src/flag
Commit message (Expand)AuthorAgeFilesLines
* flag: add a Value exampleTerin Stock2018-06-211-0/+44
* flag: fix headers in documentation, againDominik Honnef2018-06-141-0/+3
* flag: removed the colon after "Usage" in the documentationhellozee2018-06-071-2/+2
* flag: correct zero values when printing defaultsjimmyfrasche2018-04-012-11/+6
* flag: document use of FlagSet name parameterIan Lance Taylor2018-03-281-1/+2
* flag: clarify comment to avoid shell syntax confusionIan Lance Taylor2017-12-061-2/+3
* flag: add (*FlagSet).Name, (*FlagSet).ErrorHandling, export (*FlagSet).OutputTim Cooper2017-10-312-7/+53
* flag: simplify switch-case in isZeroValueGabriel Aszalos2017-10-171-5/+1
* flag: align multi-line usage stringsTim Cooper2017-09-282-4/+14
* flag: simplify arg logic in parseOnealexpantyukhin2017-09-051-1/+1
* flag: document that custom usage functions are free to call os.ExitRob Pike2017-08-291-1/+6
* all: remove some double spaces from commentsDaniel Martí2017-08-261-4/+4
* flag: make default Usage prefer CommandLine's output over just os.StderrBrad Fitzpatrick2017-08-083-2/+19
* flag: validate Int and Uint values to be in rangeBrad Fitzpatrick2017-03-212-2/+19
* flag: arrange for FlagSet.Usage to be non-nil by defaultRuss Cox2016-10-262-6/+16
* flag: use strconv instead of fmt in values' String funcsbogem2016-09-101-7/+7
* flag: improve comment for calling String with zero valueIan Lance Taylor2016-08-231-1/+2
* flag: document that Value.String must work on the zero valueIan Lance Taylor2016-08-231-0/+1
* flag: recognize "0s" as the zero value for a flag.DurationIan Lance Taylor2016-05-312-3/+18
* flag: update test case (fix build)Robert Griesemer2016-04-211-1/+1
* all: single space after period.Brad Fitzpatrick2016-03-021-6/+6
* all: make copyright headers consistent with one space after periodBrad Fitzpatrick2016-03-011-1/+1
* flag: add comment stating that Set is called in sequence across the command lineRob Pike2015-07-161-0/+2
* flag: Clarifies docs for Arg(int) and FlagSet.Arg(int)Hariharan Srinath2015-07-121-2/+4
* flag: Describe the ErrorHandling enum values.Aaron Jacobs2015-06-051-4/+5
* flag: Fix up a package comment a bit.Aaron Jacobs2015-05-191-1/+1
* all: use "reports whether" in place of "returns true if(f)"Josh Bleecher Snyder2015-03-181-1/+1
* flag: use four spaces before tab, not threeRuss Cox2015-03-122-9/+9
* flag: nicer usage messagesRob Pike2015-03-122-8/+138
* flag: Check for Set errorMichalis Kargakis2014-12-221-1/+3
* flag: Some idiomatic fixesMichalis Kargakis2014-12-211-9/+9
* flag: roll back 156390043 (flag setting)Rob Pike2014-10-202-89/+0
* flag: disallow setting flags multiple timesRob Pike2014-10-192-0/+90
* flag: allow CommandLine's Usage function to be setRob Pike2014-09-262-6/+19
* build: move package sources from src/pkg to srcRuss Cox2014-09-084-0/+1323