commit 6d79e681907fd0ff86389dc2546aee5f25109c40
parent 4236e7af2dfa0d8e92c4a0aef717d2d1fe95b107
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Mon, 1 Oct 2018 22:22:01 +0200
Added help text for non-greedy updatemaster
Diffstat:
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/bin/updatemaster b/bin/updatemaster
@@ -51,7 +51,9 @@ while getopts "fcashFACn" opt; do
A)
none=1
;;
- h)
+ n)
+ greedy=0;;
+ h|*)
echo "Update your Homebrew, Mac App Store, NPM, and PIP packages in one place."
echo "Usage: updatemaster [-aAcCfFsh]"
echo "Options:"
@@ -62,6 +64,7 @@ while getopts "fcashFACn" opt; do
echo "-a: Upgrade all casks and formulas."
echo "-A: Don't upgrade any Brew programs (maintenance only)."
echo "-s: Select which casks to upgrade."
+ echo "-n: Non-greedy"
echo "-h: Show this help text."
echo
echo "Options can be combined. For example:"
@@ -69,10 +72,6 @@ while getopts "fcashFACn" opt; do
echo "Would update all formulas, and ask you to select which casks to upgrade."
exit 0
;;
- n)
- greedy=0;;
- *)
- ;;
esac
done