mirror of
https://github.com/spf13/cobra
synced 2025-05-07 13:57:21 +00:00
doc_test: add 'er'
This commit is contained in:
parent
df76712df4
commit
dcf0d55266
1 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,10 @@ import (
|
|||
"github.com/spf13/cobra/doc"
|
||||
)
|
||||
|
||||
func er(msg interface{}) {
|
||||
cobra.Er(msg)
|
||||
}
|
||||
|
||||
func ExampleGenManTree() {
|
||||
cmd := &cobra.Command{
|
||||
Use: "test",
|
||||
|
|
Loading…
Add table
Reference in a new issue