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_test.go
Age
Commit message (
Expand
)
Author
2017-05-05
Testing for Shorthand Lookup
Eric Paris
2017-05-05
Allow lookup by shorthand (#106)
Charlie R.C
2017-04-12
flag_test: fix go vet (#123)
Tamir Duberstein
2017-04-05
Prevent changing order of flags after SetNormalizeFunc() (#121)
Albert Nigmatzianov
2017-03-25
Add SortFlags option (#113)
Albert Nigmatzianov
2017-01-19
Merge pull request #102 from bogem/redundant
Eric Paris
2017-01-16
Make command line parsing available outside pflag
xilabao
2016-10-23
Clean up code
bogem
2016-09-09
Fix default values for custom fields
Cameron Moore
2016-09-06
add a new type StringArray
wu8685
2016-08-16
Refactor default value detection
Cameron Moore
2015-12-18
Issue #55: implement Go 1.5-style default usage formatting.
Giovanni Bajo
2015-09-16
Store the length of Args when a -- is found in commandline
Eric Paris
2015-09-07
adding a private field to flags, and a function for marking flags as private
Steve Domino
2015-08-20
Add shorthand deprecator
Janet Kuo
2015-08-15
New AddFlagSet function on FlagSet
Eric Paris
2015-08-15
Fix up minor things found by goreportcard.com
Eric Paris
2015-08-07
More tests for Changed
Eric Paris
2015-08-07
New helper to easily see if a flag has been set
Eric Paris
2015-06-22
Add support for '--flag arg'
Eric Paris
2015-06-22
Set default values if no arg given
Eric Paris
2015-06-22
Merge pull request #25 from eparis/GetFlagType
Eric Paris
2015-06-22
Add SetAnnotation helper
Jordan Liggitt
2015-06-01
Add new FlagSet.Get{Int,String,...} accessor functions
Eric Paris
2015-06-01
Moar flag_test!
Eric Paris
2015-05-19
Added a test for normalizing usage name
Anastasis Andronidis
2015-05-10
Call normalizeFlagName function only once
Anastasis Andronidis
2015-05-08
Support bool= with shortnames
Eric Paris
2015-04-29
Merge remote-tracking branch 'ogier/master' into merge
Eric Paris
2015-04-28
Custom normalization func
Eric Paris
2015-04-28
Ability to mark flags as deprecated
Eric Paris
2015-04-27
Merge pull request #12 from fabianofranz/master
Eric Paris
2015-04-23
Allow WordSeparators to be set after flags are added
Tim Hockin
2015-04-24
Allow flag name normalization for compare
Tim Hockin
2015-04-22
Add support to short form with equal sign: -p=value
fabianofranz
2015-02-17
Fix handling of -- termination
Andy Goldstein
2015-02-14
Move test files to the 'pflag' package
Alex Ogier
2015-01-16
Fix unit tests to include Type() method in custom types
Filipe Brandenburger
2014-06-27
Fixing issues so test pass again
spf13
2014-04-02
Compatibility: commandLine -> CommandLine
Alec Thomas
2012-12-20
Set interspersed behaviour via a setter.
Alec Thomas
2012-12-19
Add support for non-interspersed option/non-option args.
Alec Thomas
2012-05-09
Tighten up parsing to be less ambiguous, follow GNU conventions
Alex Ogier
2012-05-04
Import the full github path in tests
Alex Ogier
2012-05-04
Fix tests for interspersed parsing
Alex Ogier
2012-05-04
Fix up tests to use long -- form
Alex Ogier
2012-04-30
Rename package flag --> pflag
Alex Ogier
2012-04-26
Copy the flag module from the go standard library
Alex Ogier