Merge pull request #15922 from MikeMcQuaid/deps_no_formula_options
cmd/deps: fix documentation and handling of formula_options.
This commit is contained in:
commit
340b982df8
@ -13,8 +13,7 @@ module Homebrew
|
|||||||
def self.deps_args
|
def self.deps_args
|
||||||
Homebrew::CLI::Parser.new do
|
Homebrew::CLI::Parser.new do
|
||||||
description <<~EOS
|
description <<~EOS
|
||||||
Show dependencies for <formula>. Additional options specific to <formula>
|
Show dependencies for <formula>. When given multiple formula arguments,
|
||||||
may be appended to the command. When given multiple formula arguments,
|
|
||||||
show the intersection of dependencies for each formula. By default, `deps`
|
show the intersection of dependencies for each formula. By default, `deps`
|
||||||
shows all required and recommended dependencies.
|
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`* ...]
|
### `deps` [*`options`*] [*`formula`*|*`cask`* ...]
|
||||||
|
|
||||||
Show dependencies for *`formula`*. Additional options specific to *`formula`*
|
Show dependencies for *`formula`*. When given multiple formula arguments,
|
||||||
may be appended to the command. When given multiple formula arguments,
|
|
||||||
show the intersection of dependencies for each formula. By default, `deps`
|
show the intersection of dependencies for each formula. By default, `deps`
|
||||||
shows all required and recommended dependencies.
|
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\.
|
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 \.\.\.]"
|
.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
|
.P
|
||||||
Note: \fB\-\-missing\fR and \fB\-\-skip\-recommended\fR have precedence over \fB\-\-include\-*\fR\.
|
Note: \fB\-\-missing\fR and \fB\-\-skip\-recommended\fR have precedence over \fB\-\-include\-*\fR\.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user