Selaa lähdekoodia

Messages should not be written in stdout if the command is `sh-` command (fixes #650)

pull/651/head
Yamashita, Yuu 8 vuotta sitten
vanhempi
commit
25d3ca7fdf
1 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  1. +5
    -1
      libexec/pyenv

+ 5
- 1
libexec/pyenv Näytä tiedosto

@ -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

Ladataan…
Peruuta
Tallenna