Fix InOrStdin comment

This commit is contained in:
Randy Stauner 2019-12-02 09:14:51 -07:00 committed by GitHub
parent b04b5bfc50
commit c23151b7f7
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)
}
// InOrStdin returns output to stderr
// InOrStdin returns input to stdin
func (c *Command) InOrStdin() io.Reader {
return c.getIn(os.Stdin)
}