doc_test: add 'er'

This commit is contained in:
umarcor 2019-06-07 21:55:25 +02:00
parent df76712df4
commit dcf0d55266

View file

@ -8,6 +8,10 @@ import (
"github.com/spf13/cobra/doc" "github.com/spf13/cobra/doc"
) )
func er(msg interface{}) {
cobra.Er(msg)
}
func ExampleGenManTree() { func ExampleGenManTree() {
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "test", Use: "test",