mirror of
https://github.com/spf13/cobra
synced 2025-05-06 13:27:26 +00:00
Correct documentation for InOrStdin
Documentation on function is incorrect
This commit is contained in:
parent
b80588d523
commit
b97eb31e3d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue