From 7102cc84b98b889fbab56b85dbb0eca7609db470 Mon Sep 17 00:00:00 2001 From: metacollin Date: Thu, 19 Nov 2020 20:27:19 -0700 Subject: [PATCH] Documentation wording fixes --- Library/Homebrew/cmd/formulae.sh | 6 +++--- docs/Manpage.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Library/Homebrew/cmd/formulae.sh b/Library/Homebrew/cmd/formulae.sh index bf102bdb30..8bd57bf736 100644 --- a/Library/Homebrew/cmd/formulae.sh +++ b/Library/Homebrew/cmd/formulae.sh @@ -1,6 +1,6 @@ #: * `formulae` [] -#: -#: Prints a sorted list of locally available formulas including shortnames. +#: +#: List all locally installable formulae including short names. #: # shellcheck disable=SC2155 @@ -8,4 +8,4 @@ homebrew-formulae() { local formulae="$(\find "$HOMEBREW_REPOSITORY"/Library/Taps -type d \( -name Casks -o -name cmd -o -name .github \) -prune -false -o -name '*rb' | \sed -E -e 's/\.rb//g' -e 's_.*/Taps/(.*)/(home|linux)brew-_\1/_' -e 's|/Formula/|/|')" local shortnames="$(echo "$formulae" | \cut -d / -f 3)" echo -e "$formulae \n $shortnames" | \grep -v '^homebrew/' | \sort -uf -} \ No newline at end of file +} diff --git a/docs/Manpage.md b/docs/Manpage.md index 69a73fbb43..c78ef52bd4 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -223,7 +223,7 @@ For tarballs, also print SHA-256 checksums. ### `formulae` -List all locally available formulae including short names. +List all locally installable formulae including short names. ### `gist-logs` [*`options`*] *`formula`*