From 6421115516beea57a41a46555c21899eb83f6387 Mon Sep 17 00:00:00 2001 From: Albert Nigmatzianov Date: Sat, 1 Apr 2017 22:45:39 +0200 Subject: [PATCH] doc: Fix govet complaints (#408) --- doc/man_examples_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/man_examples_test.go b/doc/man_examples_test.go index 3593853b..db660426 100644 --- a/doc/man_examples_test.go +++ b/doc/man_examples_test.go @@ -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",