aboutsummaryrefslogtreecommitdiff
path: root/flag.go
AgeCommit message (Expand)Author
2016-08-16Refactor default value detectionCameron Moore
2016-08-14Use flag's string type in usagebogem
2016-04-27Passthrough flags inserted by go testMoshe Cohen
2016-04-11Add simple method to see if a flagset has available flagsJohn Schnake
2015-12-18Issue #55: implement Go 1.5-style default usage formatting.Giovanni Bajo
2015-09-23Add more CI checks forcing code cleanlinessEric Paris
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-15Use Type() instead of internal .(*stringValue)Eric Paris
2015-08-15Merge pull request #46 from eparis/goreportcardEric Paris
2015-08-15Reduce code duplication in PrintDefaults/FlagUsagesEric Paris
2015-08-15Fix up minor things found by goreportcard.comEric Paris
2015-08-14Annotate optional flags in usageFuncEric Paris
2015-08-07New helper to easily see if a flag has been setEric Paris
2015-08-05Do not include \n in Errorf outputEric 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-05-27Slight code cleanup parsing long flagsEric Paris
2015-05-12Fixed statementAnastasis Andronidis
2015-05-12Normalization should change the nameAnastasis Andronidis
2015-05-10Call normalizeFlagName function only onceAnastasis Andronidis
2015-05-08Support bool= with shortnamesEric Paris
2015-05-08Rewrite short arg parsing for readabilityEric Paris
2015-05-08parseLongArg code rework for readabilityEric Paris
2015-04-28Custom normalization funcEric Paris
2015-04-28Make normalizedName external so we can make the functions externalEric Paris
2015-04-28Ability to mark flags as deprecatedEric Paris
2015-04-27Merge pull request #10 from eparis/declare_by_nameEric 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-04-07Declare Flag{ by name instead of orderEric Paris
2015-04-01add annotations for flagsEric Paris
2015-03-12Always return when err is not nil.Brendan Burns
2015-02-17Fix handling of -- terminationAndy Goldstein
2015-01-16Add support for custom boolean flags through IsBoolFlag()Filipe 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-04-02Compatibility: commandLine -> CommandLineAlec Thomas
2014-03-17More data types. Each in a separate file.Riobard
2014-03-16Make reuse message more clearJohannes Schickling
2013-11-12adding changed flag on flag to track user set vs defaultspf13