cmd/deps: fix documentation and handling of formula_options.
https://github.com/Homebrew/brew/pull/15892#issuecomment-1698659908
This commit is contained in:
parent
851df262a0
commit
9863d555a8
@ -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.
|
||||
|
||||
|
||||
@ -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.
|
||||
|
||||
|
||||
@ -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\.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user