Update README.md (#944)

I think it meant to be `Echo` here instead of `Print` since the command is called `cmdEcho`.
This commit is contained in:
XuZvvHYmZfYdWJNRunkJ 2019-10-07 14:41:51 -07:00 committed by Joshua Harshman
parent 48e6ac4718
commit c022f6fabd

View File

@ -482,7 +482,7 @@ For many years people have printed back to the screen.`,
Echo works a lot like print, except it has a child command.`, Echo works a lot like print, except it has a child command.`,
Args: cobra.MinimumNArgs(1), Args: cobra.MinimumNArgs(1),
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {
fmt.Println("Print: " + strings.Join(args, " ")) fmt.Println("Echo: " + strings.Join(args, " "))
}, },
} }