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
6d95bb3f
Unverified
Commit
6d95bb3f
authored
May 27, 2018
by
Xianglin Gao
Committed by
GitHub
May 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve the help of kubeadm completion
parent
da7a2b78
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
completion.go
cmd/kubeadm/app/cmd/completion.go
+5
-4
No files found.
cmd/kubeadm/app/cmd/completion.go
View file @
6d95bb3f
...
@@ -52,16 +52,17 @@ var (
...
@@ -52,16 +52,17 @@ var (
completion of kubeadm commands. This can be done by sourcing it from
completion of kubeadm commands. This can be done by sourcing it from
the .bash_profile.
the .bash_profile.
Note: this requires the bash-completion framework, which is not installed
Note: this requires the bash-completion framework.
by default on Mac. This can be installed by using homebrew:
To install it on Mac use homebrew:
$ brew install bash-completion
$ brew install bash-completion
Once installed, bash_completion must be evaluated. This can be done by adding the
Once installed, bash_completion must be evaluated. This can be done by adding the
following line to the .bash_profile
following line to the .bash_profile
$ source $(brew --prefix)/etc/bash_completion
$ source $(brew --prefix)/etc/bash_completion
If bash-completion is not installed on Linux, please install the 'bash-completion' package
via your distribution's package manager.
Note for zsh users: [1] zsh completions are only supported in versions of zsh >= 5.2`
)
Note for zsh users: [1] zsh completions are only supported in versions of zsh >= 5.2`
)
completionExample
=
dedent
.
Dedent
(
`
completionExample
=
dedent
.
Dedent
(
`
...
...
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