Commit 67fc7e2a authored by Jason Karns's avatar Jason Karns
Browse files

Clean up usage documentation

parent 0cd6f9fb
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -2,8 +2,8 @@
#
# Summary: Install a Ruby version using ruby-build
#
# Usage: rbenv install [-f] [-kvp] <version>
#        rbenv install [-f] [-kvp] <definition-file>
# Usage: rbenv install [-f|-s] [-kpv] <version>
#        rbenv install [-f|-s] [-kpv] <definition-file>
#        rbenv install -l|--list
#
#   -l/--list          List all available versions
@@ -14,8 +14,8 @@
#
#   -k/--keep          Keep source tree in $RBENV_BUILD_ROOT after installation
#                      (defaults to $RBENV_ROOT/sources)
#   -v/--verbose       Verbose mode: print compilation status to stdout
#   -p/--patch         Apply a patch from stdin before building
#   -v/--verbose       Verbose mode: print compilation status to stdout
#
# For detailed information on installing Ruby versions with
# ruby-build, including a list of environment variables for adjusting
+2 −2
Original line number Diff line number Diff line
#!/usr/bin/env bash
#
# Usage: ruby-build [-kvp] <definition> <prefix>
# Usage: ruby-build [-kpv] <definition> <prefix>
#        ruby-build --definitions
#
#   -k/--keep        Do not remove source tree after installation
#   -v/--verbose     Verbose mode: print compilation status to stdout
#   -p/--patch       Apply a patch from stdin before building
#   -v/--verbose     Verbose mode: print compilation status to stdout
#   -4/--ipv4        Resolve names to IPv4 addresses only
#   -6/--ipv6        Resolve names to IPv6 addresses only
#   --definitions    List all built-in definitions