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