mirror of
https://github.com/spf13/cobra
synced 2024-11-24 14:47:12 +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)
|
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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue