diff --git a/doc/man_examples_test.go b/doc/man_examples_test.go index 3593853b..db660426 100644 --- a/doc/man_examples_test.go +++ b/doc/man_examples_test.go @@ -8,7 +8,7 @@ import ( "github.com/spf13/cobra/doc" ) -func ExampleCommand_GenManTree() { +func ExampleGenManTree() { cmd := &cobra.Command{ Use: "test", Short: "my test program", @@ -20,7 +20,7 @@ func ExampleCommand_GenManTree() { doc.GenManTree(cmd, header, "/tmp") } -func ExampleCommand_GenMan() { +func ExampleGenMan() { cmd := &cobra.Command{ Use: "test", Short: "my test program",