Correct documentation for InOrStdin (#929)

Documentation on function is incorrect
This commit is contained in:
Daniel Esponda 2020-02-20 12:42:29 -06:00 committed by GitHub
parent 0da0687426
commit 3c2624538b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ func (c *Command) ErrOrStderr() io.Writer {
return c.getErr(os.Stderr) return c.getErr(os.Stderr)
} }
// InOrStdin returns output to stderr // InOrStdin returns input to stdin
func (c *Command) InOrStdin() io.Reader { func (c *Command) InOrStdin() io.Reader {
return c.getIn(os.Stdin) return c.getIn(os.Stdin)
} }