Pārlūkot izejas kodu

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

Messages should not be written to stdout if the command is `sh-` command
pull/654/head
Yamashita, Yuu pirms 8 gadiem
revīziju iesūtīja GitHub
vecāks
revīzija
c803130a9d
1 mainītis faili ar 5 papildinājumiem un 1 dzēšanām
  1. +5
    -1
      libexec/pyenv

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

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

Notiek ielāde…
Atcelt
Saglabāt