Correct documentation for InOrStdin

Documentation on function is incorrect
This commit is contained in:
Daniel Esponda 2019-08-07 09:08:06 -05:00 committed by GitHub
parent b80588d523
commit b97eb31e3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -300,7 +300,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)
} }