Correct documentation for InOrStdin (#929)
Documentation on function is incorrect
This commit is contained in:
parent
0da0687426
commit
3c2624538b
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user