mirror of
https://github.com/spf13/cobra
synced 2025-05-07 22:07:23 +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"
|
"github.com/spf13/cobra/doc"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
func er(msg interface{}) {
|
||||||
|
cobra.Er(msg)
|
||||||
|
}
|
||||||
|
|
||||||
func ExampleGenManTree() {
|
func ExampleGenManTree() {
|
||||||
cmd := &cobra.Command{
|
cmd := &cobra.Command{
|
||||||
Use: "test",
|
Use: "test",
|
||||||
|
|
Loading…
Add table
Reference in a new issue