Skip to content
Myr

doc: Fix govet complaints (#408)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Albert Nigmatzianov · committed by Eric Paris · parent 7be4bed · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:doc/man_examples_test.go+2 added-2 removed
6 unmodified lines
7 "github.com/spf13/cobra"8 "github.com/spf13/cobra/doc"9)1011func ExampleCommand_GenManTree() {11func ExampleGenManTree() {12 cmd := &cobra.Command{13 Use: "test",14 Short: "my test program",15 }
3 unmodified lines
19 }20 doc.GenManTree(cmd, header, "/tmp")21}2223func ExampleCommand_GenMan() {23func ExampleGenMan() {24 cmd := &cobra.Command{25 Use: "test",26 Short: "my test program",27 }
8 unmodified lines