From b4f8e23ee1050d3794974fbe93861c5fa4b421a0 Mon Sep 17 00:00:00 2001 From: William Ma <1882991+whoiswillma@users.noreply.github.com> Date: Mon, 20 Jul 2020 14:34:35 -0400 Subject: [PATCH] outdated: Fix documentation style Co-authored-by: Eric Knibbe --- Library/Homebrew/cmd/outdated.rb | 8 ++++---- docs/Manpage.md | 6 +++--- manpages/brew.1 | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Library/Homebrew/cmd/outdated.rb b/Library/Homebrew/cmd/outdated.rb index 3c6290d635..3d499f7d69 100644 --- a/Library/Homebrew/cmd/outdated.rb +++ b/Library/Homebrew/cmd/outdated.rb @@ -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 diff --git a/docs/Manpage.md b/docs/Manpage.md index d2d2262a91..32e270a75e 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -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`* diff --git a/manpages/brew.1 b/manpages/brew.1 index 5ad417cc91..7d57c2c11b 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -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\.