Revert "Revert "Update cobra/pflag. Also update generated kubectl documentation.""

This reverts commit 69432e8b2f.

    COMMIT_BLOCKED_ON_GENDOCS
This commit is contained in:
Brendan Burns
2015-03-16 11:23:02 -07:00
parent d0b468f4b0
commit c66caa5336
58 changed files with 426 additions and 289 deletions

View File

@@ -11,6 +11,12 @@ Sets the current-context in a .kubeconfig file
kubectl config use-context CONTEXT_NAME
```
### Options
```
-h, --help=false: help for use-context
```
### Options inherrited from parent commands
```
@@ -24,7 +30,6 @@ kubectl config use-context CONTEXT_NAME
--context="": The name of the kubeconfig context to use
--envvar=false: use the .kubeconfig from $KUBECONFIG
--global=false: use the .kubeconfig from /home/username
-h, --help=false: help for config
--insecure-skip-tls-verify=false: If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure.
--kubeconfig="": use a particular .kubeconfig file
--local=false: use the .kubeconfig in the current directory