Pārlūkot izejas kodu

Merge pull request #914 from yyuu/sh-help-stderr

Help message should not be written to stdout for `sh-` commands
pull/927/head^2
Mislav Marohnić pirms 9 gadiem
revīziju iesūtīja GitHub
vecāks
revīzija
1b751261ce
1 mainītis faili ar 5 papildinājumiem un 1 dzēšanām
  1. +5
    -1
      libexec/rbenv

+ 5
- 1
libexec/rbenv Parādīt failu

@ -109,7 +109,11 @@ case "$command" in
shift 1
if [ "$1" = --help ]; then
exec rbenv-help "$command"
if [[ "$command" == "sh-"* ]]; then
echo "rbenv help \"$command\""
else
exec rbenv-help "$command"
fi
else
exec "$command_path" "$@"
fi

Notiek ielāde…
Atcelt
Saglabāt