update: make --help consistent, add options

Document short options and common global options. Apply the same indent
as other command help strings.
This commit is contained in:
Mike Miller 2019-02-12 17:10:28 -08:00
parent e3ec8a7d47
commit fcd712eb58

View File

@ -3,7 +3,10 @@
#: Fetch the newest version of Homebrew and all formulae from GitHub using `git`(1) and perform any necessary migrations. #: Fetch the newest version of Homebrew and all formulae from GitHub using `git`(1) and perform any necessary migrations.
#: #:
#: --merge `git merge` is used to include updates (rather than `git rebase`). #: --merge `git merge` is used to include updates (rather than `git rebase`).
#: --force Always do a slower, full update check (even if unnecessary). #: -f, --force Always do a slower, full update check (even if unnecessary).
#: -v, --verbose Print the directories checked and `git` operations performed.
#: -d, --debug Display a trace of all shell commands as they are executed.
#: -h, --help Show this message.
# Don't need shellcheck to follow this `source`. # Don't need shellcheck to follow this `source`.
# shellcheck disable=SC1090 # shellcheck disable=SC1090