mirror of
https://github.com/spf13/cobra
synced 2024-12-26 06:17:05 +00:00
Correct documentation for InOrStdin (#929)
Documentation on function is incorrect
This commit is contained in:
parent
0da0687426
commit
3c2624538b
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue