Merge pull request #14151 from Homebrew/sponsors-maintainers-man-completions

Update manpage and completions.
This commit is contained in:
Mike McQuaid 2022-11-16 14:12:09 +00:00 committed by GitHub
commit d6884be9de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -1417,6 +1417,8 @@ Installs, configures and runs Homebrew's `rubocop`.
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`.
* `-r`:
Load a library using `require`.
* `-e`:

View File

@ -2039,6 +2039,9 @@ Installs, configures and runs Homebrew\'s \fBrubocop\fR\.
.SS "\fBruby\fR [\fIoptions\fR] (\fB\-e\fR \fItext\fR|\fIfile\fR)"
Run a Ruby instance with Homebrew\'s libraries loaded\. For example, \fBbrew ruby \-e "puts :gcc\.f\.deps"\fR or \fBbrew ruby script\.rb\fR\.
.
.P
Run e\.g\. \fBbrew ruby \-\- \-\-version\fR to pass arbitrary arguments to \fBruby\fR\.
.
.TP
\fB\-r\fR
Load a library using \fBrequire\fR\.