From c63dc3958195a011d341b163d5b82ef2e14d4f6a Mon Sep 17 00:00:00 2001 From: Daniel Esponda Date: Wed, 7 Aug 2019 09:08:06 -0500 Subject: [PATCH] correct documentation for InOrStdin (#929) --- command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command.go b/command.go index ab3cf69a9..3b9e1acb6 100644 --- a/command.go +++ b/command.go @@ -300,7 +300,7 @@ func (c *Command) ErrOrStderr() io.Writer { return c.getErr(os.Stderr) } -// InOrStdin returns output to stderr +// InOrStdin returns input to stdin func (c *Command) InOrStdin() io.Reader { return c.getIn(os.Stdin) }