Merge pull request #9295 from MikeMcQuaid/ls-formula-default

cmd/list: --formula is no longer a default.
This commit is contained in:
Mike McQuaid 2020-11-25 14:43:03 +00:00 committed by GitHub
commit c5a9de8ff5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ module Homebrew
If <formula> is provided, summarise the paths within its current keg.
EOS
switch "--formula", "--formulae",
description: "List only formulae. This is the default when output is not to a terminal."
description: "List only formulae."
switch "--cask", "--casks",
description: "List only casks, or <cask> if provided."
switch "--unbrewed",

View File

@ -315,7 +315,7 @@ List all installed formulae and casks.
If *`formula`* is provided, summarise the paths within its current keg.
* `--formula`:
List only formulae. This is the default when output is not to a terminal.
List only formulae.
* `--cask`:
List only casks, or *`cask`* if provided.
* `--unbrewed`:

View File

@ -424,7 +424,7 @@ If \fIformula\fR is provided, summarise the paths within its current keg\.
.
.TP
\fB\-\-formula\fR
List only formulae\. This is the default when output is not to a terminal\.
List only formulae\.
.
.TP
\fB\-\-cask\fR