From 9863d555a8a65c86d9ce074232505ee4a4c3660e Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 30 Aug 2023 08:46:59 +0100 Subject: [PATCH] cmd/deps: fix documentation and handling of formula_options. https://github.com/Homebrew/brew/pull/15892#issuecomment-1698659908 --- Library/Homebrew/cmd/deps.rb | 3 +-- docs/Manpage.md | 3 +-- manpages/brew.1 | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Library/Homebrew/cmd/deps.rb b/Library/Homebrew/cmd/deps.rb index bd14a89c9a..bdce60b60c 100644 --- a/Library/Homebrew/cmd/deps.rb +++ b/Library/Homebrew/cmd/deps.rb @@ -13,8 +13,7 @@ module Homebrew def self.deps_args Homebrew::CLI::Parser.new do description <<~EOS - Show dependencies for . Additional options specific to - may be appended to the command. When given multiple formula arguments, + Show dependencies for . When given multiple formula arguments, show the intersection of dependencies for each formula. By default, `deps` shows all required and recommended dependencies. diff --git a/docs/Manpage.md b/docs/Manpage.md index 9c2a7dac01..67d9a9e9ae 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -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. diff --git a/manpages/brew.1 b/manpages/brew.1 index 54ad4559c8..7cb478270f 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -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\.