From b97eb31e3df4f0eb545e7e48e1c898839766cbb6 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 Documentation on function is incorrect --- command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command.go b/command.go index 42e500de5..c8fdb648b 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) }