mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-07 20:31:01 -05:00
Messages should not be written in stdout if the command is sh-
command (fixes #650)
This commit is contained in:
parent
081f539cbc
commit
25d3ca7fdf
1 changed files with 5 additions and 1 deletions
|
@ -122,7 +122,11 @@ case "$command" in
|
|||
|
||||
shift 1
|
||||
if [ "$1" = --help ]; then
|
||||
exec pyenv-help "$command"
|
||||
if [[ "$command" == "sh-"* ]]; then
|
||||
exec pyenv-help "$command" 1>&2
|
||||
else
|
||||
exec pyenv-help "$command"
|
||||
fi
|
||||
else
|
||||
exec "$command_path" "$@"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue