doc: Fix govet complaints

This commit is contained in:
Albert Nigmatzianov 2017-03-31 15:13:32 +02:00
parent 7be4beda01
commit ce3e0d25c1

View file

@ -8,7 +8,7 @@ import (
"github.com/spf13/cobra/doc" "github.com/spf13/cobra/doc"
) )
func ExampleCommand_GenManTree() { func ExampleGenManTree() {
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "test", Use: "test",
Short: "my test program", Short: "my test program",
@ -20,7 +20,7 @@ func ExampleCommand_GenManTree() {
doc.GenManTree(cmd, header, "/tmp") doc.GenManTree(cmd, header, "/tmp")
} }
func ExampleCommand_GenMan() { func ExampleGenMan() {
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "test", Use: "test",
Short: "my test program", Short: "my test program",