Преглед изворни кода

Merge pull request #651 from yyuu/sh-help-stderr

Messages should not be written to stdout if the command is `sh-` command
pull/654/head
Yamashita, Yuu пре 10 година
committed by GitHub
родитељ
комит
c803130a9d
1 измењених фајлова са 5 додато и 1 уклоњено
  1. +5
    -1
      libexec/pyenv

+ 5
- 1
libexec/pyenv Прегледај датотеку

@ -122,7 +122,11 @@ case "$command" in
shift 1 shift 1
if [ "$1" = --help ]; then 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 else
exec "$command_path" "$@" exec "$command_path" "$@"
fi fi

Loading…
Откажи
Сачувај