aboutsummaryrefslogtreecommitdiff
path: root/flag.go
AgeCommit message (Expand)Author
2025-10-05Show 'correct' explicit bool value syntax in helpAli Mohammad Pur
2025-09-02Merge pull request #448 from thaJeztah/fix_go_versionv1.0.10Tomas Aschan
2025-09-01remove uses of errors.Is, which requires go1.13Sebastiaan van Stijn
2025-09-01fix deprecation comment for (FlagSet.)ParseErrorsWhitelistSebastiaan van Stijn
2025-09-01fix: Restore ParseErrorsWhitelist name for nowTomas Aschan
2025-08-31Merge pull request #444 from spf13/reset-args-even-if-emptyv1.0.8Tomas Aschan
2025-08-30Use errors.Is instead of equality checkTomas Aschan
2025-08-29Reset args on re-parse even if emptyreset-args-even-if-emptyTomas Aschan
2025-08-29fix: Don't print ErrHelp in ParseAllTomas Aschan
2025-08-29Merge branch 'master' into fix-errhelpTomas Aschan
2025-07-17Merge pull request #261 from dubrie/masterTomas Aschan
2025-07-17Merge pull request #364 from vaguecoder/duplicate-errorTomas Aschan
2025-07-17Ensure output is written also from ParseAllTomas Aschan
2025-07-17Ensure output is written to correct streamTomas Aschan
2025-06-09fix help message for Func and BoolFunc flags #430Georges Varouchas
2025-06-01Merge pull request #409 from ShawnJeffersonWang/masterTomas Aschan
2025-05-14Merge pull request #424 from valdar/issue/423Tomas Aschan
2025-05-14fix #423 : Add helper function and some documentation to parse shorthand go t...Andrea Tarocchi
2025-04-21feat: Use error structs for most returned errorsEthan P.
2025-03-18Fix defaultIsZeroValue check for generic Value typeMidnightRocket
2024-07-23fix: correct argument length check in FlagSet.Parseshawn
2024-06-12flag: Emulate stdlib behavior and do not print ErrHelpTravis Cline
2022-11-19Remove Redundant "Unknown-Flag" ErrorBhargav Ravuri
2020-06-02Switching from whitelist to Allowlist terminologyBill Johnson
2020-05-04Add exported functions to preserve `pkg/flag` compatibility (#220)Ryan McKern
2019-09-17Merge pull request #216 from therealmitchconnors/elegantMitch Connors
2019-09-10Add SliceValue Commentstherealmitchconnors
2019-08-16Add first SliceValue implementationstherealmitchconnors
2019-06-16Fix package docDavid Schneider
2018-08-31Fix panic when parsing unknown flag followed by empty argument (#173)v1.0.3Oren Shomron
2018-06-01Allow bubbling up of -test.* flags (#169)Joffrey F
2018-04-12Typo correction in flag.go (#164)v1.0.1Saakallya Biswas
2018-04-10Allow Users To Show Deprecated Flags (#163)Eric Paris
2018-04-03make x.Parsed() return true after AddGoFlagSet(x) and pflag.Parse() (#162)childe
2018-03-30add ability to ignore unknown flags (#160)Rajat Jindal
2018-03-28Add multiline wrapping support (#155)mkishere
2017-11-06Add uintSlice and boolSlice to name prettifier (#150)Steven Roose
2017-10-20Prevent printing when using ContinueOnError (#144)Steven Roose
2017-10-05Fixing Count flag usage string (#141)gonix
2017-10-02Fix SetNormalizeFunc (#137)Diego Becciolini
2017-09-30Generate flag error output for errors returned from the parseFunc (#138)Michael Porter
2017-09-01New: renamed intSlice to ints in usageChristophe Serafin
2017-09-01New: added a default name to avoid stringSlice in the usage message.Christophe Serafin
2017-05-05Testing for Shorthand LookupEric Paris
2017-05-05Add example to ShorthandLookupAlbert Nigmatzianov
2017-05-05Add note about panic in ShorthandLookupAlbert Nigmatzianov
2017-05-05Allow lookup by shorthand (#106)Charlie R.C
2017-04-27Unify error message for panic and f.outAlbert Nigmatzianov
2017-04-26Use comparison a string with "" instead of comparison of lenAlbert Nigmatzianov
2017-04-26Prevent parsing if there are no argumentsAlbert Nigmatzianov