aboutsummaryrefslogtreecommitdiff
path: root/src/flag
AgeCommit message (Expand)Author
2021-12-13all: gofmt -w -r 'interface{} -> any' srcRuss Cox
2021-10-26all: use reflect.{Pointer,PointerTo}Cuong Manh Le
2021-04-05flag: use strings.Builder instead of concatenating stringsJames Fennell
2021-03-10flag: panic if flag name begins with - or contains =KimMachineGun
2020-10-20all: update references to symbols moved from io/ioutil to ioRuss Cox
2020-09-16flag: add FuncCarl Johnson
2020-04-03flag: fix TestExitCode on Plan 9David du Colombier
2020-04-03flag: exit 0 when -h or -help invoked but undefinedShang Jian Ding
2020-03-03flag: changed flag variable name in package doc, for clarityyuz
2020-02-27flag: update comment to refer to Output, not outIan Lance Taylor
2019-11-11flag: clarify that a flag cannot be re-definedAgniva De Sarker
2019-03-31cmd/go: further reduce init workDaniel Martí
2019-01-21flag: improve docs for PrintDefaults; clarify how to change output destinationAaron Cannon
2018-10-19flag: return a consistent parse error if the flag value is invalidRob Pike
2018-09-26all: use strings.ReplaceAll and bytes.ReplaceAll where applicableBrad Fitzpatrick
2018-06-21flag: add a Value exampleTerin Stock
2018-06-14flag: fix headers in documentation, againDominik Honnef
2018-06-07flag: removed the colon after "Usage" in the documentationhellozee
2018-04-01flag: correct zero values when printing defaultsjimmyfrasche
2018-03-28flag: document use of FlagSet name parameterIan Lance Taylor
2017-12-06flag: clarify comment to avoid shell syntax confusionIan Lance Taylor
2017-10-31flag: add (*FlagSet).Name, (*FlagSet).ErrorHandling, export (*FlagSet).OutputTim Cooper
2017-10-17flag: simplify switch-case in isZeroValueGabriel Aszalos
2017-09-28flag: align multi-line usage stringsTim Cooper
2017-09-05flag: simplify arg logic in parseOnealexpantyukhin
2017-08-29flag: document that custom usage functions are free to call os.ExitRob Pike
2017-08-26all: remove some double spaces from commentsDaniel Martí
2017-08-08flag: make default Usage prefer CommandLine's output over just os.StderrBrad Fitzpatrick
2017-03-21flag: validate Int and Uint values to be in rangeBrad Fitzpatrick
2016-10-26flag: arrange for FlagSet.Usage to be non-nil by defaultRuss Cox
2016-09-10flag: use strconv instead of fmt in values' String funcsbogem
2016-08-23flag: improve comment for calling String with zero valueIan Lance Taylor
2016-08-23flag: document that Value.String must work on the zero valueIan Lance Taylor
2016-05-31flag: recognize "0s" as the zero value for a flag.DurationIan Lance Taylor
2016-04-21flag: update test case (fix build)Robert Griesemer
2016-03-02all: single space after period.Brad Fitzpatrick
2016-03-01all: make copyright headers consistent with one space after periodBrad Fitzpatrick
2015-07-16flag: add comment stating that Set is called in sequence across the command lineRob Pike
2015-07-12flag: Clarifies docs for Arg(int) and FlagSet.Arg(int)Hariharan Srinath
2015-06-05flag: Describe the ErrorHandling enum values.Aaron Jacobs
2015-05-19flag: Fix up a package comment a bit.Aaron Jacobs
2015-03-18all: use "reports whether" in place of "returns true if(f)"Josh Bleecher Snyder
2015-03-12flag: use four spaces before tab, not threeRuss Cox
2015-03-12flag: nicer usage messagesRob Pike
2014-12-22flag: Check for Set errorMichalis Kargakis
2014-12-21flag: Some idiomatic fixesMichalis Kargakis
2014-10-20flag: roll back 156390043 (flag setting)Rob Pike
2014-10-19flag: disallow setting flags multiple timesRob Pike
2014-09-26flag: allow CommandLine's Usage function to be setRob Pike
2014-09-08build: move package sources from src/pkg to srcRuss Cox