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