From 3c2624538b7d0935103b37a9313661ffaad30d46 Mon Sep 17 00:00:00 2001 From: Daniel Esponda Date: Thu, 20 Feb 2020 12:42:29 -0600 Subject: [PATCH] Correct documentation for InOrStdin (#929) Documentation on function is incorrect --- command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command.go b/command.go index fb60ebd..dc67753 100644 --- a/command.go +++ b/command.go @@ -309,7 +309,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) }