Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
6290aee8
Commit
6290aee8
authored
Oct 12, 2015
by
feihujiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove shorthand for client flag in kubectl version
parent
e2659fc6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
kubectl_version.md
docs/user-guide/kubectl/kubectl_version.md
+2
-2
version.go
pkg/kubectl/cmd/version.go
+1
-0
No files found.
docs/user-guide/kubectl/kubectl_version.md
View file @
6290aee8
...
...
@@ -47,7 +47,7 @@ kubectl version
### Options
```
-c,
--client[=false]: Client version only (no server required).
--client[=false]: Client version only (no server required).
```
### Options inherited from parent commands
...
...
@@ -82,7 +82,7 @@ kubectl version
*
[
kubectl
](
kubectl.md
)
- kubectl controls the Kubernetes cluster manager
###### Auto generated by spf13/cobra
at 2015-09-22 12:53:42.294832043 +0000 UTC
###### Auto generated by spf13/cobra
on 12-Oct-2015
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
[

]()
...
...
pkg/kubectl/cmd/version.go
View file @
6290aee8
...
...
@@ -35,6 +35,7 @@ func NewCmdVersion(f *cmdutil.Factory, out io.Writer) *cobra.Command {
},
}
cmd
.
Flags
()
.
BoolP
(
"client"
,
"c"
,
false
,
"Client version only (no server required)."
)
cmd
.
Flags
()
.
MarkShorthandDeprecated
(
"client"
,
"please use --client instead."
)
return
cmd
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment