mirror of
https://github.com/spf13/cobra
synced 2024-11-24 14:47:12 +00:00
doc: Fix govet complaints (#408)
This commit is contained in:
parent
7be4beda01
commit
6421115516
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue