Documentation wording fixes

This commit is contained in:
metacollin 2020-11-19 20:27:19 -07:00
parent e5f7285260
commit 7102cc84b9
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
#: * `formulae` [<options>]
#:
#: 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
}
}

View File

@ -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`*