Commit Graph

8 Commits

Author SHA1 Message Date
Filipe Brandenburger
0bfeeb84ca Make short flags optional, refactor code to use StringVarP directly.
There is no need to check for an empty string and call StringVar or
StringVarP depending on the case, since StringVar is essentially the
same as a call to StringVarP with an empty string.

This turns 6 lines of code back into 1.

Remove the TODO comments since removing the short flags will no longer
simplify this code significantly.
2015-01-21 07:58:02 -08:00
Filipe Brandenburger
af76d14e2e Revert "fixup repeated usage strings"
This reverts commit 469bd2b641.
2015-01-21 07:56:24 -08:00
deads2k
469bd2b641 fixup repeated usage strings 2015-01-21 08:12:24 -05:00
deads2k
8c01729f38 make shorthand flags optional 2015-01-20 16:21:27 -05:00
deads2k
b51a717f6e add kubectl config 2015-01-13 16:19:57 -05:00
deads2k
480635bb72 Revert "Revert "add kubeconfig types""
This reverts commit 02dbad7094.
2015-01-08 09:42:30 -05:00
Brendan Burns
02dbad7094 Revert "add kubeconfig types" 2015-01-07 12:39:37 -08:00
deads2k
0e688dc271 add kubeconfig file 2015-01-07 13:09:10 -05:00