Skip to content

Commit

Permalink
Update README.md (#944)
Browse files Browse the repository at this point in the history
I think it meant to be `Echo` here instead of `Print` since the command is called `cmdEcho`.
  • Loading branch information
JBrVJxsc authored and jharshman committed Oct 7, 2019
1 parent 48e6ac4 commit c022f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.`,
Args: cobra.MinimumNArgs(1),
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("Print: " + strings.Join(args, " "))
fmt.Println("Echo: " + strings.Join(args, " "))
},
}

Expand Down

0 comments on commit c022f6f

Please sign in to comment.