diff --git a/staging/src/k8s.io/kubectl/pkg/cmd/edit/edit.go b/staging/src/k8s.io/kubectl/pkg/cmd/edit/edit.go index 3dff3b4904f..8305d2ef5fe 100644 --- a/staging/src/k8s.io/kubectl/pkg/cmd/edit/edit.go +++ b/staging/src/k8s.io/kubectl/pkg/cmd/edit/edit.go @@ -44,6 +44,9 @@ var ( The default format is YAML. To edit in JSON, specify "-o json". + Shell defaults to /bin/bash if the SHELL environment variable is not set. + To override the shell location set the SHELL environment variable with the desired shell location. + The flag --windows-line-endings can be used to force Windows line endings, otherwise the default for your operating system will be used.