man: be more exact about global options.
Make clear these don't necessarily apply to all subcommands (see https://github.com/Homebrew/brew/issues/7121).
This commit is contained in:
parent
60ec0881fe
commit
f63d2d7887
@ -198,7 +198,7 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
|
|
||||||
def global_options_manpage
|
def global_options_manpage
|
||||||
lines = ["These options are applicable across all sub-commands.\n"]
|
lines = ["These options are applicable across multiple subcommands.\n"]
|
||||||
lines += Homebrew::CLI::Parser.global_options.values.map do |names, _, desc|
|
lines += Homebrew::CLI::Parser.global_options.values.map do |names, _, desc|
|
||||||
short, long = names
|
short, long = names
|
||||||
generate_option_doc(short, long, desc)
|
generate_option_doc(short, long, desc)
|
||||||
|
@ -991,7 +991,7 @@ Install and commit Homebrew's vendored gems.
|
|||||||
|
|
||||||
## GLOBAL OPTIONS
|
## GLOBAL OPTIONS
|
||||||
|
|
||||||
These options are applicable across all sub-commands.
|
These options are applicable across multiple subcommands.
|
||||||
|
|
||||||
* `-q`, `--quiet`:
|
* `-q`, `--quiet`:
|
||||||
Suppress any warnings.
|
Suppress any warnings.
|
||||||
|
@ -1262,7 +1262,7 @@ Use the commit at the specified \fIdate\fR as the start commit\.
|
|||||||
Install and commit Homebrew\'s vendored gems\.
|
Install and commit Homebrew\'s vendored gems\.
|
||||||
.
|
.
|
||||||
.SH "GLOBAL OPTIONS"
|
.SH "GLOBAL OPTIONS"
|
||||||
These options are applicable across all sub\-commands\.
|
These options are applicable across multiple subcommands\.
|
||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
\fB\-q\fR, \fB\-\-quiet\fR
|
\fB\-q\fR, \fB\-\-quiet\fR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user