Selaa lähdekoodia

Help message should not be written to stdout for `sh-` commands (yyuu/pyenv#650)

pull/927/head^2
Yamashita, Yuu 10 vuotta sitten
vanhempi
commit
7860ad5268
1 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  1. +5
    -1
      libexec/rbenv

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

@ -109,7 +109,11 @@ case "$command" in
shift 1
if [ "$1" = --help ]; then
exec rbenv-help "$command"
if [[ "$command" == "sh-"* ]]; then
exec rbenv-help "$command" 1>&2
else
exec rbenv-help "$command"
fi
else
exec "$command_path" "$@"
fi

Ladataan…
Peruuta
Tallenna