Skip to content

Commit a18ec3b

Browse files
committed
Update spf13/cobra with recent commits.
1 parent c66caa5 commit a18ec3b

File tree

7 files changed

+46
-26
lines changed

7 files changed

+46
-26
lines changed

Godeps/Godeps.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Godeps/_workspace/src/github.com/spf13/cobra/cobra_test.go

+13-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Godeps/_workspace/src/github.com/spf13/cobra/command.go

+15-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/kubectl-apiversions.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ Print available API versions.
1111
kubectl apiversions
1212
```
1313

14+
### Options
15+
16+
```
17+
-h, --help=false: help for apiversions
18+
```
19+
1420
### Options inherrited from parent commands
1521

1622
```
@@ -22,7 +28,6 @@ kubectl apiversions
2228
--client-key="": Path to a client key file for TLS.
2329
--cluster="": The name of the kubeconfig cluster to use
2430
--context="": The name of the kubeconfig context to use
25-
-h, --help=false: help for kubectl
2631
--insecure-skip-tls-verify=false: If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure.
2732
--kubeconfig="": Path to the kubeconfig file to use for CLI requests.
2833
--log_backtrace_at=:0: when logging hits line file:N, emit a stack trace

docs/kubectl-expose.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,8 @@ $ kubectl expose streamer --port=4100 --protocol=udp --service-name=video-stream
3131
--create-external-load-balancer=false: If true, create an external load balancer for this service. Implementation is cloud provider dependent. Default is 'false'.
3232
--dry-run=false: If true, only print the object that would be sent, without creating it.
3333
--generator="service/v1": The name of the API generator to use. Default is 'service/v1'.
34-
<<<<<<< HEAD
35-
-l, --labels="": Labels to apply to the service created by this call.
36-
=======
3734
-h, --help=false: help for expose
38-
>>>>>>> Revert "Revert "Update cobra/pflag. Also update generated kubectl documentation.""
35+
-l, --labels="": Labels to apply to the service created by this call.
3936
--no-headers=false: When using the default output, don't print headers.
4037
-o, --output="": Output format. One of: json|yaml|template|templatefile.
4138
--output-version="": Output the formatted object with the given version (default api-version).

docs/man/man1/kubectl-apiversions.1

+6-4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ kubectl apiversions \- Print available API versions.
1616
Print available API versions.
1717

1818

19+
.SH OPTIONS
20+
.PP
21+
\fB\-h\fP, \fB\-\-help\fP=false
22+
help for apiversions
23+
24+
1925
.SH OPTIONS INHERITED FROM PARENT COMMANDS
2026
.PP
2127
\fB\-\-alsologtostderr\fP=false
@@ -49,10 +55,6 @@ Print available API versions.
4955
\fB\-\-context\fP=""
5056
The name of the kubeconfig context to use
5157

52-
.PP
53-
\fB\-h\fP, \fB\-\-help\fP=false
54-
help for kubectl
55-
5658
.PP
5759
\fB\-\-insecure\-skip\-tls\-verify\fP=false
5860
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure.

docs/man/man1/kubectl-expose.1

+4-5
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,12 @@ as the selector for a new Service on the specified port.
3838
The name of the API generator to use. Default is 'service/v1'.
3939

4040
.PP
41-
<<<<<<< HEAD
42-
\fB\-l\fP, \fB\-\-labels\fP=""
43-
Labels to apply to the service created by this call.
44-
=======
4541
\fB\-h\fP, \fB\-\-help\fP=false
4642
help for expose
47-
>>>>>>> Revert "Revert "Update cobra/pflag. Also update generated kubectl documentation.""
43+
44+
.PP
45+
\fB\-l\fP, \fB\-\-labels\fP=""
46+
Labels to apply to the service created by this call.
4847

4948
.PP
5049
\fB\-\-no\-headers\fP=false

0 commit comments

Comments
 (0)