Clarify --list and --definitions in the README

The previous docs would make users think only a few Ruby versions were available.
This commit is contained in:
Benoit Daloze 2024-11-06 10:26:00 +01:00
parent 87c272cd57
commit ac39910944

View file

@ -40,7 +40,8 @@ PREFIX=/usr/local ./ruby-build-*/install.sh
```sh
# As a standalone program
$ ruby-build --list # lists available versions of Ruby
$ ruby-build --list # lists latest stable releases for each Ruby
$ ruby-build --definitions # lists all definitions, including outdated ones
$ ruby-build 3.2.2 /opt/rubies/ruby-3.2.2 # installs Ruby 3.2.2
$ ruby-build -d ruby-3.2.2 /opt/rubies # alternate form for the previous example