From 2070b3848eb1540b8b4d32a951138851f7deb89e Mon Sep 17 00:00:00 2001 From: tcharding Date: Mon, 7 Aug 2017 17:05:21 +1000 Subject: [PATCH] Add whitespace to improve error msg clarity --- pkg/kubectl/cmd/explain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kubectl/cmd/explain.go b/pkg/kubectl/cmd/explain.go index e2967e03da4..852c6c63a02 100644 --- a/pkg/kubectl/cmd/explain.go +++ b/pkg/kubectl/cmd/explain.go @@ -65,7 +65,7 @@ func NewCmdExplain(f cmdutil.Factory, out, cmdErr io.Writer) *cobra.Command { // RunExplain executes the appropriate steps to print a model's documentation func RunExplain(f cmdutil.Factory, out, cmdErr io.Writer, cmd *cobra.Command, args []string) error { if len(args) == 0 { - fmt.Fprint(cmdErr, "You must specify the type of resource to explain. ", validResources) + fmt.Fprintf(cmdErr, "You must specify the type of resource to explain. %s\n", validResources) return cmdutil.UsageErrorf(cmd, "Required resource not specified.") } if len(args) > 1 {