Write help message to stdout

This commit is contained in:
Yamashita, Yuu 2016-07-04 00:56:08 +00:00
parent 7860ad5268
commit 26ac59fd1d

View file

@ -110,7 +110,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 rbenv-help "$command" 1>&2 echo "rbenv help \"$command\""
else else
exec rbenv-help "$command" exec rbenv-help "$command"
fi fi