1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-13 22:03:52 -05:00

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
if [ "$1" = --help ]; then
if [[ "$command" == "sh-"* ]]; then
exec pyenv-help "$command" 1>&2
echo "pyenv help \"$command\""
else
exec pyenv-help "$command"
fi