cmd/deps: fix documentation and handling of formula_options.

https://github.com/Homebrew/brew/pull/15892#issuecomment-1698659908
This commit is contained in:
Mike McQuaid 2023-08-30 08:46:59 +01:00
parent 851df262a0
commit 9863d555a8
No known key found for this signature in database
GPG Key ID: 3338A31AFDB1D829
3 changed files with 3 additions and 5 deletions

View File

@ -13,8 +13,7 @@ module Homebrew
def self.deps_args
Homebrew::CLI::Parser.new do
description <<~EOS
Show dependencies for <formula>. Additional options specific to <formula>
may be appended to the command. When given multiple formula arguments,
Show dependencies for <formula>. When given multiple formula arguments,
show the intersection of dependencies for each formula. By default, `deps`
shows all required and recommended dependencies.

View File

@ -137,8 +137,7 @@ a bug report, you will be required to provide this information.
### `deps` [*`options`*] [*`formula`*|*`cask`* ...]
Show dependencies for *`formula`*. Additional options specific to *`formula`*
may be appended to the command. When given multiple formula arguments,
Show dependencies for *`formula`*. When given multiple formula arguments,
show the intersection of dependencies for each formula. By default, `deps`
shows all required and recommended dependencies.

View File

@ -155,7 +155,7 @@ Control whether Homebrew automatically links external tap shell completion files
Show Homebrew and system configuration info useful for debugging\. If you file a bug report, you will be required to provide this information\.
.
.SS "\fBdeps\fR [\fIoptions\fR] [\fIformula\fR|\fIcask\fR \.\.\.]"
Show dependencies for \fIformula\fR\. Additional options specific to \fIformula\fR may be appended to the command\. When given multiple formula arguments, show the intersection of dependencies for each formula\. By default, \fBdeps\fR shows all required and recommended dependencies\.
Show dependencies for \fIformula\fR\. When given multiple formula arguments, show the intersection of dependencies for each formula\. By default, \fBdeps\fR shows all required and recommended dependencies\.
.
.P
Note: \fB\-\-missing\fR and \fB\-\-skip\-recommended\fR have precedence over \fB\-\-include\-*\fR\.