Skip to content

Commit

Permalink
Correct documentation for InOrStdin (#929)
Browse files Browse the repository at this point in the history
Documentation on function is incorrect
  • Loading branch information
desponda committed Feb 20, 2020
1 parent 0da0687 commit 3c26245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 3c26245

Please sign in to comment.