index
:
github.com/spf13/pflag.git
docs/contrib
forOgier
master
remove-type-from-value
reset-args-even-if-empty
Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
flag.go
Age
Commit message (
Expand
)
Author
2025-08-29
Reset args on re-parse even if empty
reset-args-even-if-empty
Tomas Aschan
2025-08-29
Merge branch 'master' into fix-errhelp
Tomas Aschan
2025-07-17
Merge pull request #261 from dubrie/master
Tomas Aschan
2025-07-17
Merge pull request #364 from vaguecoder/duplicate-error
Tomas Aschan
2025-07-17
Ensure output is written also from ParseAll
Tomas Aschan
2025-07-17
Ensure output is written to correct stream
Tomas Aschan
2025-06-09
fix help message for Func and BoolFunc flags #430
Georges Varouchas
2025-06-01
Merge pull request #409 from ShawnJeffersonWang/master
Tomas Aschan
2025-05-14
Merge pull request #424 from valdar/issue/423
Tomas Aschan
2025-05-14
fix #423 : Add helper function and some documentation to parse shorthand go t...
Andrea Tarocchi
2025-04-21
feat: Use error structs for most returned errors
Ethan P.
2025-03-18
Fix defaultIsZeroValue check for generic Value type
MidnightRocket
2024-07-23
fix: correct argument length check in FlagSet.Parse
shawn
2024-06-12
flag: Emulate stdlib behavior and do not print ErrHelp
Travis Cline
2022-11-19
Remove Redundant "Unknown-Flag" Error
Bhargav Ravuri
2020-06-02
Switching from whitelist to Allowlist terminology
Bill Johnson
2020-05-04
Add exported functions to preserve `pkg/flag` compatibility (#220)
Ryan McKern
2019-09-17
Merge pull request #216 from therealmitchconnors/elegant
Mitch Connors
2019-09-10
Add SliceValue Comments
therealmitchconnors
2019-08-16
Add first SliceValue implementations
therealmitchconnors
2019-06-16
Fix package doc
David Schneider
2018-08-31
Fix panic when parsing unknown flag followed by empty argument (#173)
v1.0.3
Oren Shomron
2018-06-01
Allow bubbling up of -test.* flags (#169)
Joffrey F
2018-04-12
Typo correction in flag.go (#164)
v1.0.1
Saakallya Biswas
2018-04-10
Allow Users To Show Deprecated Flags (#163)
Eric Paris
2018-04-03
make x.Parsed() return true after AddGoFlagSet(x) and pflag.Parse() (#162)
childe
2018-03-30
add ability to ignore unknown flags (#160)
Rajat Jindal
2018-03-28
Add multiline wrapping support (#155)
mkishere
2017-11-06
Add uintSlice and boolSlice to name prettifier (#150)
Steven Roose
2017-10-20
Prevent printing when using ContinueOnError (#144)
Steven Roose
2017-10-05
Fixing Count flag usage string (#141)
gonix
2017-10-02
Fix SetNormalizeFunc (#137)
Diego Becciolini
2017-09-30
Generate flag error output for errors returned from the parseFunc (#138)
Michael Porter
2017-09-01
New: renamed intSlice to ints in usage
Christophe Serafin
2017-09-01
New: added a default name to avoid stringSlice in the usage message.
Christophe Serafin
2017-05-05
Testing for Shorthand Lookup
Eric Paris
2017-05-05
Add example to ShorthandLookup
Albert Nigmatzianov
2017-05-05
Add note about panic in ShorthandLookup
Albert Nigmatzianov
2017-05-05
Allow lookup by shorthand (#106)
Charlie R.C
2017-04-27
Unify error message for panic and f.out
Albert Nigmatzianov
2017-04-26
Use comparison a string with "" instead of comparison of len
Albert Nigmatzianov
2017-04-26
Prevent parsing if there are no arguments
Albert Nigmatzianov
2017-04-26
Add more verbosity to panic of shorthand redefinition
Albert Nigmatzianov
2017-04-26
Use f.out in output flag deprecation
Albert Nigmatzianov
2017-04-26
Make more detailed error in Set
Albert Nigmatzianov
2017-04-26
Add comments for better understanding of parsing short flags
Albert Nigmatzianov
2017-04-26
Delete setFlag
Albert Nigmatzianov
2017-04-26
Fix alreadythere variable name
Albert Nigmatzianov
2017-04-18
Merge pull request #119 from bogem/cachesortede
Albert Nigmatzianov
2017-04-17
Merge pull request #75 from jonathanmarvens/patch-1
Albert Nigmatzianov
[next]