| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-04-29 | Merge remote-tracking branch 'ogier/master' into merge | Eric Paris | |
| Conflicts: bool_test.go flag.go flag_test.go | |||
| 2015-04-28 | Custom normalization func | Eric Paris | |
| This can be used however you want. My test is for flag aliases | |||
| 2015-04-28 | Ability to mark flags as deprecated | Eric Paris | |
| They will not show up in usage or help, but they will still work. The usage message will print on os.Stderr any time the flag is set. | |||
| 2015-04-27 | Merge pull request #12 from fabianofranz/master | Eric Paris | |
| Add support to short form with equal sign: -p=value | |||
| 2015-04-23 | Allow WordSeparators to be set after flags are added | Tim Hockin | |
| 2015-04-24 | Allow flag name normalization for compare | Tim Hockin | |
| This allows the FlagSet to define equivalent word-separators. Given this, one can make - and _ equivalent, so --foo-bar and --foo_bar both work. | |||
| 2015-04-22 | Add support to short form with equal sign: -p=value | fabianofranz | |
| 2015-02-17 | Fix handling of -- termination | Andy Goldstein | |
| Fix handling of -- termination. Previously, if you ran $command -flag1 -etc -- some args after the command's args would be doubled (some args after some args after). Additionally, if there were items after the -- termination that looked like flags, the parser would throw an error. It's better to terminate parsing when -- is seen, because that usually indicates the caller wants to pass the remainder of the arguments (including flags) as-is to something else. | |||
| 2015-02-14 | Move test files to the 'pflag' package | Alex Ogier | |
| This means we can avoid putting the repository name into the source files, so people who have their own forks don't have to make changes. | |||
| 2015-01-16 | Fix unit tests to include Type() method in custom types | Filipe Brandenburger | |
| This was broken by commit 463bdc838f2b35 ("Adding Type() method to the values.") which added the method to the interface but did not update the custom types in unit tests. Signed-off-by: Filipe Brandenburger <[email protected]> | |||
| 2014-06-27 | Fixing issues so test pass again | spf13 | |
| 2014-04-02 | Compatibility: commandLine -> CommandLine | Alec Thomas | |
| 2012-12-20 | Set interspersed behaviour via a setter. | Alec Thomas | |
| 2012-12-19 | Add support for non-interspersed option/non-option args. | Alec Thomas | |
| 2012-05-09 | Tighten up parsing to be less ambiguous, follow GNU conventions | Alex Ogier | |
| 2012-05-04 | Import the full github path in tests | Alex Ogier | |
| 2012-05-04 | Fix tests for interspersed parsing | Alex Ogier | |
| 2012-05-04 | Fix up tests to use long -- form | Alex Ogier | |
| 2012-04-30 | Rename package flag --> pflag | Alex Ogier | |
| 2012-04-26 | Copy the flag module from the go standard library | Alex Ogier | |
