Skip to content
Myr

echo msg not echo msg msg (#364)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Yuanxiao · committed by Eric Paris · parent 6b74a60 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:cobra_test.go+1 added-1 removed
610 unmodified lines
611 echo := &Command{612 Use: "echo message",613 Run: func(c *Command, args []string) {614 msg := strings.Join(args, " ")615 c.Println(msg, msg)615 c.Println(msg)616 },617 }618619 cmd.AddCommand(double, echo)
568 unmodified lines