Merge pull request #16445 from smarterclayton/improve_errors

Auto commit by PR queue bot
pull/6/head
k8s-merge-robot 2015-10-30 00:17:18 -07:00
commit bbba223584
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ func messageForError(err error) string {
func UsageError(cmd *cobra.Command, format string, args ...interface{}) error {
msg := fmt.Sprintf(format, args...)
return fmt.Errorf("%s\nsee '%s -h' for help.", msg, cmd.CommandPath())
return fmt.Errorf("%s\nSee '%s -h' for help and examples.", msg, cmd.CommandPath())
}
func getFlag(cmd *cobra.Command, flag string) *pflag.Flag {