| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-06-04 | allow for blank ip addresses (#316) | David Rivera | |
| 2020-10-09 | Add IPNetSlice and unit tests (#170) | rpothier | |
| 2020-09-10 | remove dead code for checking error nil (#282) | Yash | |
| 2020-06-10 | Update flag_test.go | Bill Johnson | |
| 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 | |
| * Rename out() to Output() This brings behavior inline with go's flag library, and allows for printing output directly to whatever the current FlagSet is using for output. This change will make it easier to correctly emit output to stdout or stderr (e.g. a user has requested a help screen, which should emit to stdout since it's the desired outcome). * improve compat. with pkg/flag by adding Name() pkg/flag has a public `Name()` function, which returns the name of the flag set when called. This commit adds that function, as well as a test for it. * Streamline testing Name() Testing `Name()` will move into its own explicit test, instead of running inline during `TestAddFlagSet()`. Co-authored-by: Chloe Kudryavtsev <[email protected]> Co-authored-by: Chloe Kudryavtsev <[email protected]> | |||
| 2019-09-18 | Merge pull request #219 from cfromknecht/fix-modv1.0.5-rc1v1.0.5 | Mitch Connors | |
| Remove require pflag v1.0.3 | |||
| 2019-09-17 | Remove require pflag v1.0.3 | Conner Fromknecht | |
| 2019-09-17 | Fix typo in go.modv1.0.4 | Mitch Connors | |
| 2019-09-17 | Merge pull request #216 from therealmitchconnors/elegant | Mitch Connors | |
| Implement SliceValue for better list semantics | |||
| 2019-09-10 | gofmt | therealmitchconnors | |
| 2019-09-10 | Add SliceValue Comments | therealmitchconnors | |
| 2019-09-05 | Expand SliceValue support to all slice and array types. | therealmitchconnors | |
| 2019-08-16 | Add first SliceValue implementations | therealmitchconnors | |
| 2019-08-13 | Added String-To-Int64 option parsing (#211) | Alex Besogonov | |
| 2019-08-13 | Merge pull request #201 from Fedosin/fix_descriptions | Mitch Connors | |
| Fix descriptions for StringSlice functions | |||
| 2019-08-13 | Merge pull request #210 from dsbrng25b/master | Mitch Connors | |
| Fix package doc | |||
| 2019-06-16 | Fix package doc | David Schneider | |
| Signed-off-by: David Schneider <[email protected]> | |||
| 2019-02-11 | Fix descriptions for StringSlice functions | Mike Fedosin | |
| 2018-12-23 | fix misspell (#197) | Davor Kapsa | |
| 2018-12-12 | Fix typo in count.go (#196) | terorie | |
| 2018-11-07 | add int32 & int64 slice support (#194) | Noah Dietz | |
| 2018-11-07 | add float32 & float64 slice support (#192) | Noah Dietz | |
| 2018-10-24 | Travis: test on 1.9 as well (#191) | Eric Paris | |
| Lets see if this still works (1.7 and 1.8 don't work with golint anymore) | |||
| 2018-10-24 | travis: update to 1.10 and 1.11 in travis tests (#190) | Eric Paris | |
| Hopefully this will get tests back to life | |||
| 2018-10-24 | Fix golint import path (#189) | golint fixer | |
| 2018-10-24 | Sentence restructure and grammar fix (#188) | Matthew Cale | |
| There are helpers function != There are helper functions. Great repo. | |||
| 2018-08-31 | Fix panic when parsing unknown flag followed by empty argument (#173)v1.0.3 | Oren Shomron | |
| Signed-off-by: Oren Shomron <[email protected]> | |||
| 2018-08-21 | Handle single string=>string flags without quotes (#179) | Tamal Saha | |
| OK: --f1 "a=5,6" --f2 b=3,4 --f3 "c=5,6",d=7 Not OK: --f4 c="5,6" | |||
| 2018-08-15 | Add map valued (string->string, string->int) flags. (#133) | Tamal Saha | |
| Format: --myflag=a=1,b=2 | |||
| 2018-08-08 | bytes: add support for base64 encoded flags (#177)v1.0.2 | Gorka Lerchundi Osa | |
| Signed-off-by: Gorka Lerchundi Osa <[email protected]> | |||
| 2018-06-01 | Allow bubbling up of -test.* flags (#169) | Joffrey F | |
| Based on patch suggested here: https://github.com/spf13/cobra/issues/597#issuecomment-385984076 | |||
| 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 | |
| They have to explicitly unhide a deprecated flag to keep the current behavior. | |||
| 2018-04-03 | make x.Parsed() return true after AddGoFlagSet(x) and pflag.Parse() (#162) | childe | |
| * make GoFlagSets.Parsed() true after pflag.Parse some third part lib such as glog use go flag package, and its some actions depends on if goflag.Parsed(). * add test case for goflag.CommandLine.Parsed() * add comment to goflag.CommandLine.Parsed test case | |||
| 2018-03-30 | add ability to ignore unknown flags (#160) | Rajat Jindal | |
| * add ability to ignore unknown flags * add testcases * add 2 more patterns to the testcase * handle --unknownflag=val arg and -u=val arg scenario * add ParseErrorsWhiteList to extend error handling during parsing | |||
| 2018-03-28 | Add multiline wrapping support (#155) | mkishere | |
| * Add multiline wrapping support With reference to golang/go#20799, pflag now will respect newline in usage string and do wrap accordingly. Also add test cases for testing * Break at \n only if \n pos<wrap | |||
| 2018-03-28 | Implement BytesHex type of argument (#115) | Eugene Agafonov | |
| BytesHex is an []byte represented as HEX-string --bytes=010203040506070809 states for []bytes{1,2,3,4,5,6,7,8,9} | |||
| 2018-02-20 | doc: clarify difference between string slice vs. array (#158) | Michael Weibel | |
| fixes #157 | |||
| 2018-02-08 | DurationSlice: implementation and tests (#122) | Roman Volosatovs | |
| 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-16 | add int16 flag (#143) | Matthew Jaffee | |
| * add int16 flag copied int32.go to int16.go and s/32/16 added a case to testParse in flag_test.go * test the set value of int16 flag | |||
| 2017-10-08 | Remove redundant break | Pontus Leitzler | |
| 2017-10-05 | Fixing Count flag usage string (#141) | gonix | |
| 2017-10-02 | Fix SetNormalizeFunc (#137) | Diego Becciolini | |
| Related to https://github.com/spf13/cobra/issues/521 | |||
| 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 | Fixed: updated unittest | Christophe Serafin | |
| 2017-09-01 | New: added a default name to avoid stringSlice in the usage message. | Christophe Serafin | |
