cmd/list: --formula is no longer a default.

This behaviour is disabled.
This commit is contained in:
Mike McQuaid 2020-11-25 13:47:05 +00:00
parent 918fbcc263
commit f15c4183e0
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70
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