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 "\
|
||||
"updates when a new stable or development version has been released."
|
||||
switch "--greedy",
|
||||
description: "Print outdated casks with `auto_updates` or `version :latest`"
|
||||
description: "Print outdated casks with `auto_updates` or `version :latest`."
|
||||
switch "--formula",
|
||||
description: "Treat all arguments as formulae"
|
||||
description: "Treat all arguments as formulae."
|
||||
switch "--cask",
|
||||
description: "Treat all arguments as casks"
|
||||
description: "Treat all arguments as casks."
|
||||
switch :debug
|
||||
conflicts "--quiet", "--verbose", "--json"
|
||||
conflicts "--formula", "--cask"
|
||||
@ -46,7 +46,7 @@ module Homebrew
|
||||
|
||||
case json_version
|
||||
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_formulae
|
||||
|
@ -360,11 +360,11 @@ otherwise.
|
||||
* `--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.
|
||||
* `--greedy`:
|
||||
Print outdated casks with `auto_updates` or `version :latest`
|
||||
Print outdated casks with `auto_updates` or `version :latest`.
|
||||
* `--formula`:
|
||||
Treat all arguments as formulae
|
||||
Treat all arguments as formulae.
|
||||
* `--cask`:
|
||||
Treat all arguments as casks
|
||||
Treat all arguments as casks.
|
||||
|
||||
### `pin` *`formula`*
|
||||
|
||||
|
@ -485,15 +485,15 @@ Fetch the upstream repository to detect if the HEAD installation of the formula
|
||||
.
|
||||
.TP
|
||||
\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
|
||||
\fB\-\-formula\fR
|
||||
Treat all arguments as formulae
|
||||
Treat all arguments as formulae\.
|
||||
.
|
||||
.TP
|
||||
\fB\-\-cask\fR
|
||||
Treat all arguments as casks
|
||||
Treat all arguments as casks\.
|
||||
.
|
||||
.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\.
|
||||
|
Loading…
x
Reference in New Issue
Block a user