Write help message to stdout just like other commands (#650, #651)

This commit is contained in:
Yamashita, Yuu 2016-07-20 00:25:09 +00:00
parent a761ff602d
commit e93ae00ca1

View file

@ -123,7 +123,7 @@ case "$command" in
shift 1 shift 1
if [ "$1" = --help ]; then if [ "$1" = --help ]; then
if [[ "$command" == "sh-"* ]]; then if [[ "$command" == "sh-"* ]]; then
exec pyenv-help "$command" 1>&2 echo "pyenv help \"$command\""
else else
exec pyenv-help "$command" exec pyenv-help "$command"
fi fi