Skip to content

Commit

Permalink
correct documentation for InOrStdin (spf13#929)
Browse files Browse the repository at this point in the history
  • Loading branch information
desponda authored and umarcor committed Jan 22, 2020
1 parent ab90141 commit b63b150
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 @@ -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)
}
Expand Down

0 comments on commit b63b150

Please sign in to comment.