From f2f80a097d2e458e067f45a61a5c8ec7d26c3155 Mon Sep 17 00:00:00 2001 From: Eli Young Date: Wed, 6 Jul 2016 13:16:59 -0700 Subject: [PATCH] Reformat kubectl completion example text This makes the description wrap properly in 80-character terminals. --- pkg/kubectl/cmd/completion.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/kubectl/cmd/completion.go b/pkg/kubectl/cmd/completion.go index d0c8cb29836..4c5ed5cc62b 100644 --- a/pkg/kubectl/cmd/completion.go +++ b/pkg/kubectl/cmd/completion.go @@ -34,8 +34,9 @@ completion of kubectl commands. completion_example = ` $ source <(kubectl completion bash) -will load the kubectl completion code for bash. Note that this depends on the bash-completion -framework. It must be sourced before sourcing the kubectl completion, i.e. on the Mac: +will load the kubectl completion code for bash. Note that this depends on the +bash-completion framework. It must be sourced before sourcing the kubectl +completion, e.g. on the Mac: $ brew install bash-completion $ source $(brew --prefix)/etc/bash_completion