Messages should not be written in stdout if the command is sh-
command (fixes #650)
This commit is contained in:
parent
081f539cbc
commit
25d3ca7fdf
@ -122,7 +122,11 @@ case "$command" in
|
|||||||
|
|
||||||
shift 1
|
shift 1
|
||||||
if [ "$1" = --help ]; then
|
if [ "$1" = --help ]; then
|
||||||
|
if [[ "$command" == "sh-"* ]]; then
|
||||||
|
exec pyenv-help "$command" 1>&2
|
||||||
|
else
|
||||||
exec pyenv-help "$command"
|
exec pyenv-help "$command"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
exec "$command_path" "$@"
|
exec "$command_path" "$@"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user