소스 검색

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

불러오는 중...
취소
저장