outdated: Fix documentation style
Co-authored-by: Eric Knibbe <enk3@outlook.com>
This commit is contained in:
parent
03857319c9
commit
b4f8e23ee1
@ -30,11 +30,11 @@ module Homebrew
|
|||||||
"formula is outdated. Otherwise, the repository's HEAD will only be checked for "\
|
"formula is outdated. Otherwise, the repository's HEAD will only be checked for "\
|
||||||
"updates when a new stable or development version has been released."
|
"updates when a new stable or development version has been released."
|
||||||
switch "--greedy",
|
switch "--greedy",
|
||||||
description: "Print outdated casks with `auto_updates` or `version :latest`"
|
description: "Print outdated casks with `auto_updates` or `version :latest`."
|
||||||
switch "--formula",
|
switch "--formula",
|
||||||
description: "Treat all arguments as formulae"
|
description: "Treat all arguments as formulae."
|
||||||
switch "--cask",
|
switch "--cask",
|
||||||
description: "Treat all arguments as casks"
|
description: "Treat all arguments as casks."
|
||||||
switch :debug
|
switch :debug
|
||||||
conflicts "--quiet", "--verbose", "--json"
|
conflicts "--quiet", "--verbose", "--json"
|
||||||
conflicts "--formula", "--cask"
|
conflicts "--formula", "--cask"
|
||||||
@ -46,7 +46,7 @@ module Homebrew
|
|||||||
|
|
||||||
case json_version
|
case json_version
|
||||||
when :v1
|
when :v1
|
||||||
opoo "JSON v1 has been deprecated. Please use --json=v2"
|
opoo "JSON v1 has been deprecated; please use --json=v2"
|
||||||
|
|
||||||
outdated = if args.formula? || !args.cask?
|
outdated = if args.formula? || !args.cask?
|
||||||
outdated_formulae
|
outdated_formulae
|
||||||
|
|||||||
@ -360,11 +360,11 @@ otherwise.
|
|||||||
* `--fetch-HEAD`:
|
* `--fetch-HEAD`:
|
||||||
Fetch the upstream repository to detect if the HEAD installation of the formula is outdated. Otherwise, the repository's HEAD will only be checked for updates when a new stable or development version has been released.
|
Fetch the upstream repository to detect if the HEAD installation of the formula is outdated. Otherwise, the repository's HEAD will only be checked for updates when a new stable or development version has been released.
|
||||||
* `--greedy`:
|
* `--greedy`:
|
||||||
Print outdated casks with `auto_updates` or `version :latest`
|
Print outdated casks with `auto_updates` or `version :latest`.
|
||||||
* `--formula`:
|
* `--formula`:
|
||||||
Treat all arguments as formulae
|
Treat all arguments as formulae.
|
||||||
* `--cask`:
|
* `--cask`:
|
||||||
Treat all arguments as casks
|
Treat all arguments as casks.
|
||||||
|
|
||||||
### `pin` *`formula`*
|
### `pin` *`formula`*
|
||||||
|
|
||||||
|
|||||||
@ -485,15 +485,15 @@ Fetch the upstream repository to detect if the HEAD installation of the formula
|
|||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
\fB\-\-greedy\fR
|
\fB\-\-greedy\fR
|
||||||
Print outdated casks with \fBauto_updates\fR or \fBversion :latest\fR
|
Print outdated casks with \fBauto_updates\fR or \fBversion :latest\fR\.
|
||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
\fB\-\-formula\fR
|
\fB\-\-formula\fR
|
||||||
Treat all arguments as formulae
|
Treat all arguments as formulae\.
|
||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
\fB\-\-cask\fR
|
\fB\-\-cask\fR
|
||||||
Treat all arguments as casks
|
Treat all arguments as casks\.
|
||||||
.
|
.
|
||||||
.SS "\fBpin\fR \fIformula\fR"
|
.SS "\fBpin\fR \fIformula\fR"
|
||||||
Pin the specified \fIformula\fR, preventing them from being upgraded when issuing the \fBbrew upgrade\fR \fIformula\fR command\. See also \fBunpin\fR\.
|
Pin the specified \fIformula\fR, preventing them from being upgraded when issuing the \fBbrew upgrade\fR \fIformula\fR command\. See also \fBunpin\fR\.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user