aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2015-04-24Allow flag name normalization for compareTim Hockin
2015-04-01add annotations for flagsEric Paris
2015-03-12Always return when err is not nil.Brendan Burns
2015-02-17Merge pull request #5 from ncdc/fix-double-dash-terminationFilipe Brandenburger
2015-02-17Fix handling of -- terminationAndy Goldstein
2015-01-22Merge pull request #3 from filbranden/bool_value_for_spf13Filipe Brandenburger
2015-01-16Add unit test case for IsBoolValue() implementing a tri-state flag (true/fals...Filipe Brandenburger
2015-01-16Add support for custom boolean flags through IsBoolFlag()Filipe Brandenburger
2015-01-16Fix unit tests to include Type() method in custom typesFilipe Brandenburger
2014-07-11Adding Type() method to the values.spf13
2014-06-27Moving Value interface to the appropriate filespf13
2014-06-27Fixing issues so test pass againspf13
2014-06-27Merge branch 'master' of https://github.com/ogier/pflagspf13
2014-06-08Merge pull request #7 from alecthomas/masterAlex Ogier
2014-04-02Update docs on GetCommandLine.Alec Thomas
2014-04-02Compatibility: commandLine -> CommandLineAlec Thomas
2014-03-17More data types. Each in a separate file.Riobard
2014-03-17Merge pull request #5 from schickling/patch-1Alex Ogier
2014-03-16Make reuse message more clearJohannes Schickling
2013-11-12adding changed flag on flag to track user set vs defaultspf13
2013-11-05Fixing bug where invalid trailing short flag would cause panicspf13
2013-09-24cleaning up and adding some functionality needed by cobraspf13
2013-07-10Add a link to godoc.orgAlex Ogier
2012-12-20Merge pull request #2 from alecthomas/masterAlex Ogier
2012-12-20Fix comment.Alec 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-12-19Squelch internal error messages while testingAlex Ogier
2012-12-19Add missing VarP function for the default command lineAlex Ogier
2012-12-19Merge changes from Go's standard flag library.Alex Ogier
2012-05-09Tighten up parsing to be less ambiguous, follow GNU conventionsAlex Ogier
2012-05-09Use proper markdown linksAlex Ogier
2012-05-09New section heading for command-line usageAlex Ogier
2012-05-09Reformat go snippets in the READMEAlex Ogier
2012-05-09Add READMEAlex Ogier
2012-05-07Formatted with go fmtAlex Ogier
2012-05-04Fix up pflag's usage documentation, and reference GNU specAlex Ogier
2012-05-04Import the full github path in testsAlex Ogier
2012-05-04Fix up example for pflagAlex Ogier
2012-05-04s/shortcut/shorthand/Alex Ogier
2012-05-04Document the spaceless shortcut argument format -IfileAlex Ogier
2012-05-04Print defaults with nice spacing regardless of shortcutsAlex Ogier
2012-05-04Update package documentation for POSIX-style flagsAlex Ogier
2012-05-04Add a LICENSE fileAlex Ogier
2012-05-04Fix tests for interspersed parsingAlex Ogier
2012-05-04Fix up tests to use long -- formAlex Ogier
2012-05-04Nicer error message for undefined flagsAlex Ogier
2012-04-30Mark flags as visited based on their nameAlex Ogier
2012-04-30Rename package flag --> pflagAlex Ogier
2012-04-30Oops, allocate memory for arguments, don't set them to ""Alex Ogier