瀏覽代碼

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 8 年之前
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
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…
取消
儲存