Fix for kubectl output message (issue 8013)

pull/6/head
goltermann 2015-05-08 17:44:36 -07:00
parent 496be63c00
commit 424cbb028f
1 changed files with 1 additions and 1 deletions

View File

@ -597,7 +597,7 @@ func (b *Builder) visitorResult() *Result {
return &Result{singular: singular, visitor: visitors, sources: b.paths} return &Result{singular: singular, visitor: visitors, sources: b.paths}
} }
return &Result{err: fmt.Errorf("you must provide one or more resources by argument or filename")} return &Result{err: fmt.Errorf(`you must provide one or more resources by argument or filename, try "kubectl help [command]" for help`)}
} }
// Do returns a Result object with a Visitor for the resources identified by the Builder. // Do returns a Result object with a Visitor for the resources identified by the Builder.