aboutsummaryrefslogtreecommitdiff
path: root/flag.go
AgeCommit message (Expand)Author
2017-04-26Prevent parsing if there are no argumentsAlbert Nigmatzianov
2017-04-26Add more verbosity to panic of shorthand redefinitionAlbert Nigmatzianov
2017-04-26Use f.out in output flag deprecationAlbert Nigmatzianov
2017-04-26Make more detailed error in SetAlbert Nigmatzianov
2017-04-26Add comments for better understanding of parsing short flagsAlbert Nigmatzianov
2017-04-26Delete setFlagAlbert Nigmatzianov
2017-04-26Fix alreadythere variable nameAlbert Nigmatzianov
2017-04-18Merge pull request #119 from bogem/cachesortedeAlbert Nigmatzianov
2017-04-17Merge pull request #75 from jonathanmarvens/patch-1Albert Nigmatzianov
2017-04-17Merge pull request #116 from bogem/fixdocsAlbert Nigmatzianov
2017-04-05Cache sorted flagsAlbert Nigmatzianov
2017-04-05Prevent changing order of flags after SetNormalizeFunc() (#121)Albert Nigmatzianov
2017-03-27Modified to display a string default value as double quoted and escaped (#118)Matthew Winter
2017-03-25Add SortFlags option (#113)Albert Nigmatzianov
2017-03-25Change `ogier` to `spf13` in docs and READMEAlbert Nigmatzianov
2017-01-30Add FlagSet.FlagUsagesWrapped(cols) which wraps to the given column (#105)Ian Campbell
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-10-18Don't print escaped strings for the default value of string flags with a defa...Daniel Nephin
2016-10-18Don't print escaped strings for the default value of string flags.Daniel Nephin
2016-09-25Optimize fmt statementsbogem
2016-09-09Fix default values for custom fieldsCameron Moore
2016-09-06add a new type StringArraywu8685
2016-08-16Refactor default value detectionCameron Moore
2016-08-14Use flag's string type in usagebogem
2016-06-24Removed unused field "exitOnError".Jonathan Barronville
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