mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-15 06:43:53 -05:00
Messages should not be written in stdout if the command is sh- command (fixes #650)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user