Commit bbba2235 authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #16445 from smarterclayton/improve_errors

Auto commit by PR queue bot
parents a86d8780 6f688c3d
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment