aboutsummaryrefslogtreecommitdiff
path: root/src/flag
AgeCommit message (Expand)Author
11 daysflag: replace sort.Slice with slices.SortFuncaimuz
2023-10-18flag: add available godoc linkcui fliter
2023-09-05all: use ^TestName$ regular pattern for invoking a single testDmitri Shuralyov
2023-04-21flag: panic if a flag is defined after being setKeith Randall
2023-03-16flag: add BoolFunc; FlagSet.BoolFuncCarl Johnson
2022-10-26flag: clarify that the main func at pkg.go.dev is part of a testing suiteZeke Lu
2022-10-17flag: remove "// BUG" commentZamicol
2022-09-19flag: test IsBoolFlag when creating the usage messageRob Pike
2022-09-06flag: use strings.Buildercuiweixie
2022-07-01flag: highlight support for double dashes in docsSebastian Gassner
2022-04-11all: gofmt main repoRuss Cox
2022-04-01flag: recover panic when calling String on zero value in PrintDefaultsAndrew Gerrand
2022-03-15all: untab /* */ doc commentsRuss Cox
2022-03-10flag: add TextVar functionJoe Tsai
2022-03-07flag: make tests silentDaniel Martí
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