aboutsummaryrefslogtreecommitdiff
path: root/flag_test.go
AgeCommit message (Expand)Author
2017-05-05Allow lookup by shorthand (#106)Charlie R.C
2017-04-12flag_test: fix go vet (#123)Tamir Duberstein
2017-04-05Prevent changing order of flags after SetNormalizeFunc() (#121)Albert Nigmatzianov
2017-03-25Add SortFlags option (#113)Albert Nigmatzianov
2017-01-19Merge pull request #102 from bogem/redundantEric Paris
2017-01-16Make command line parsing available outside pflagxilabao
2016-10-23Clean up codebogem
2016-09-09Fix default values for custom fieldsCameron Moore
2016-09-06add a new type StringArraywu8685
2016-08-16Refactor default value detectionCameron Moore
2015-12-18Issue #55: implement Go 1.5-style default usage formatting.Giovanni Bajo
2015-09-16Store the length of Args when a -- is found in commandlineEric Paris
2015-09-07adding a private field to flags, and a function for marking flags as privateSteve Domino
2015-08-20Add shorthand deprecatorJanet Kuo
2015-08-15New AddFlagSet function on FlagSetEric Paris
2015-08-15Fix up minor things found by goreportcard.comEric Paris
2015-08-07More tests for ChangedEric Paris
2015-08-07New helper to easily see if a flag has been setEric Paris
2015-06-22Add support for '--flag arg'Eric Paris
2015-06-22Set default values if no arg givenEric Paris
2015-06-22Merge pull request #25 from eparis/GetFlagTypeEric Paris
2015-06-22Add SetAnnotation helperJordan Liggitt
2015-06-01Add new FlagSet.Get{Int,String,...} accessor functionsEric Paris
2015-06-01Moar flag_test!Eric Paris
2015-05-19Added a test for normalizing usage nameAnastasis Andronidis
2015-05-10Call normalizeFlagName function only onceAnastasis Andronidis
2015-05-08Support bool= with shortnamesEric Paris
2015-04-29Merge remote-tracking branch 'ogier/master' into mergeEric Paris
2015-04-28Custom normalization funcEric Paris
2015-04-28Ability to mark flags as deprecatedEric Paris
2015-04-27Merge pull request #12 from fabianofranz/masterEric Paris
2015-04-23Allow WordSeparators to be set after flags are addedTim Hockin
2015-04-24Allow flag name normalization for compareTim Hockin
2015-04-22Add support to short form with equal sign: -p=valuefabianofranz
2015-02-17Fix handling of -- terminationAndy Goldstein
2015-02-14Move test files to the 'pflag' packageAlex Ogier
2015-01-16Fix unit tests to include Type() method in custom typesFilipe Brandenburger
2014-06-27Fixing issues so test pass againspf13
2014-04-02Compatibility: commandLine -> CommandLineAlec Thomas
2012-12-20Set interspersed behaviour via a setter.Alec Thomas
2012-12-19Add support for non-interspersed option/non-option args.Alec Thomas
2012-05-09Tighten up parsing to be less ambiguous, follow GNU conventionsAlex Ogier
2012-05-04Import the full github path in testsAlex Ogier
2012-05-04Fix tests for interspersed parsingAlex Ogier
2012-05-04Fix up tests to use long -- formAlex Ogier
2012-04-30Rename package flag --> pflagAlex Ogier
2012-04-26Copy the flag module from the go standard libraryAlex Ogier