mirror of https://github.com/spf13/cobra.git
doc: Fix govet complaints (#408)
This commit is contained in:
parent
7be4beda01
commit
6421115516
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue