Skip to content
Snippets Groups Projects
Commit b4f8e23e authored by William Ma's avatar William Ma Committed by William Ma
Browse files

outdated: Fix documentation style


Co-authored-by: default avatarEric Knibbe <enk3@outlook.com>
parent 03857319
No related branches found
No related tags found
No related merge requests found
......@@ -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\.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment