Skip to content

Commit

Permalink
update: make --help consistent, add options
Browse files Browse the repository at this point in the history
Document short options and common global options. Apply the same indent
as other command help strings.
  • Loading branch information
mtmiller committed Mar 17, 2019
1 parent e3ec8a7 commit fcd712e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Library/Homebrew/cmd/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
#:
#: 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`).
#: --force Always do a slower, full update check (even if unnecessary).
#: --merge `git merge` is used to include updates (rather than `git rebase`).
#: -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`.
# shellcheck disable=SC1090
Expand Down

0 comments on commit fcd712e

Please sign in to comment.