dev-cmd/ruby: add --version

This commit is contained in:
Daniel Bayley 2022-11-15 19:58:16 +00:00
parent 06b7573e0b
commit 4bf2b3df4a

View File

@ -15,6 +15,8 @@ module Homebrew
description <<~EOS
Run a Ruby instance with Homebrew's libraries loaded. For example,
`brew ruby -e "puts :gcc.f.deps"` or `brew ruby script.rb`.
Run e.g. `brew ruby -- --version` to pass arbitrary arguments to `ruby`.
EOS
flag "-r=",
description: "Load a library using `require`."