Просмотр исходного кода

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

pull/927/head^2
Yamashita, Yuu 10 лет назад
Родитель
Сommit
7860ad5268
1 измененных файлов: 5 добавлений и 1 удалений
  1. +5
    -1
      libexec/rbenv

+ 5
- 1
libexec/rbenv Просмотреть файл

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

Загрузка…
Отмена
Сохранить