| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-06-04 | allow for blank ip addresses (#316) | David Rivera | |
| 2016-10-23 | Clean up code | bogem | |
| 2015-08-15 | Fix up minor things found by goreportcard.com | Eric Paris | |
| 2015-08-05 | Add _test for the net.IP flag type | Eric Paris | |
| 2015-06-01 | Add new FlagSet.Get{Int,String,...} accessor functions | Eric Paris | |
| If I declared a bool flag named "hello" I can now call b, err := f.GetBool("hello") And b will hold the value of the flag We can see this is already done in https://github.com/codegangsta/cli/blob/bcec9b08c7e5564f7512ad7e7b03778fe1923116/context.go If people use the codegangsta/cli Other projects have done it themselves using pflags (what inspired this patch) https://github.com/GoogleCloudPlatform/kubernetes/blob/cd817aebd848facda29e0befbbd6e31bf22402e6/pkg/kubectl/cmd/util/helpers.go#L176 Lets just do it ourselves... | |||
| 2015-06-01 | Remove Value.Get() interfaces | Eric Paris | |
| These were only defined for a couple for flag types (ip, ipmask, uint16, uint32) and weren't used anywhere. If you already knew the type well enough to know that it was one of the few with a Get() interface, you could cast yourself out of the Value... | |||
| 2014-07-11 | Adding Type() method to the values. | spf13 | |
| 2014-04-02 | Compatibility: commandLine -> CommandLine | Alec Thomas | |
| 2014-03-17 | More data types. Each in a separate file. | Riobard | |
