aboutsummaryrefslogtreecommitdiff
path: root/flag.go
AgeCommit message (Expand)Author
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
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
2017-04-26Add more verbosity to panic of shorthand redefinitionAlbert Nigmatzianov
2017-04-26Use f.out in output flag deprecationAlbert Nigmatzianov
2017-04-26Make more detailed error in SetAlbert Nigmatzianov
2017-04-26Add comments for better understanding of parsing short flagsAlbert Nigmatzianov
2017-04-26Delete setFlagAlbert Nigmatzianov
2017-04-26Fix alreadythere variable nameAlbert Nigmatzianov
2017-04-18Merge pull request #119 from bogem/cachesortedeAlbert Nigmatzianov
2017-04-17Merge pull request #75 from jonathanmarvens/patch-1Albert Nigmatzianov
2017-04-17Merge pull request #116 from bogem/fixdocsAlbert Nigmatzianov
2017-04-05Cache sorted flagsAlbert Nigmatzianov
2017-04-05Prevent changing order of flags after SetNormalizeFunc() (#121)Albert Nigmatzianov
2017-03-27Modified to display a string default value as double quoted and escaped (#118)Matthew Winter
2017-03-25Add SortFlags option (#113)Albert Nigmatzianov
2017-03-25Change `ogier` to `spf13` in docs and READMEAlbert Nigmatzianov
2017-01-30Add FlagSet.FlagUsagesWrapped(cols) which wraps to the given column (#105)Ian Campbell
2017-01-19Merge pull request #102 from bogem/redundantEric Paris
2017-01-16Make command line parsing available outside pflagxilabao
2016-10-23Clean up codebogem