Include --version in usage documentation

This commit is contained in:
Jason Karns 2016-01-15 09:24:33 -05:00
parent 67fc7e2a1d
commit c534656f7a
2 changed files with 4 additions and 0 deletions

View file

@ -5,6 +5,7 @@
# Usage: rbenv install [-f|-s] [-kpv] <version>
# rbenv install [-f|-s] [-kpv] <definition-file>
# rbenv install -l|--list
# rbenv install --version
#
# -l/--list List all available versions
# -f/--force Install even if the version appears to be installed already
@ -16,6 +17,7 @@
# (defaults to $RBENV_ROOT/sources)
# -p/--patch Apply a patch from stdin before building
# -v/--verbose Verbose mode: print compilation status to stdout
# --version Show version of ruby-build
#
# For detailed information on installing Ruby versions with
# ruby-build, including a list of environment variables for adjusting

View file

@ -2,6 +2,7 @@
#
# Usage: ruby-build [-kpv] <definition> <prefix>
# ruby-build --definitions
# ruby-build --version
#
# -k/--keep Do not remove source tree after installation
# -p/--patch Apply a patch from stdin before building
@ -9,6 +10,7 @@
# -4/--ipv4 Resolve names to IPv4 addresses only
# -6/--ipv6 Resolve names to IPv6 addresses only
# --definitions List all built-in definitions
# --version Show version of ruby-build
#
RUBY_BUILD_VERSION="20160111"