Unverified Commit bdd9d36e authored by Mislav Marohnić's avatar Mislav Marohnić Committed by GitHub
Browse files

Merge pull request #2055 from rbenv/list-stderr

List output: only print stderr notice if printing to a terminal
parents ecb9d228 2b955e7e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ for option in "${OPTIONS[@]}"; do
    ;;
  "l" | "list" )
    ruby-build --list
    {
    [ -t 1 ] && {
      echo
      echo "Only latest stable releases for each Ruby implementation are shown."
      echo "Use 'rbenv install --list-all / -L' to show all local versions."