Merge pull request #651 from yyuu/sh-help-stderr
Messages should not be written to stdout if the command is `sh-` command
This commit is contained in:
commit
c803130a9d
@ -122,7 +122,11 @@ case "$command" in
|
||||
|
||||
shift 1
|
||||
if [ "$1" = --help ]; then
|
||||
if [[ "$command" == "sh-"* ]]; then
|
||||
exec pyenv-help "$command" 1>&2
|
||||
else
|
||||
exec pyenv-help "$command"
|
||||
fi
|
||||
else
|
||||
exec "$command_path" "$@"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user