summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/spf13/cobra/doc/man_examples_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/spf13/cobra/doc/man_examples_test.go')
-rw-r--r--vendor/github.com/spf13/cobra/doc/man_examples_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/spf13/cobra/doc/man_examples_test.go b/vendor/github.com/spf13/cobra/doc/man_examples_test.go
index 3593853b0..db6604268 100644
--- a/vendor/github.com/spf13/cobra/doc/man_examples_test.go
+++ b/vendor/github.com/spf13/cobra/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",