From c5bf760c63e0671004c80c8d06d0ed09a858469e Mon Sep 17 00:00:00 2001 From: Alexander David Frick Date: Sat, 25 Jun 2022 11:32:54 -0500 Subject: [PATCH] Update trunk.sh --- trunk.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/trunk.sh b/trunk.sh index c4de51ea..a0a92d91 100644 --- a/trunk.sh +++ b/trunk.sh @@ -14,6 +14,17 @@ yell() { echo "$0: $*" >&2; } die() { yell "$*"; exit 111; } try() { "$@" || die "${RED}Failed $*"; } +# --help +displayHelp () { + printf "\n" && + printf "${bold}${GRE}Script to Rebase/Sync Chromium repo Linux.${c0}\n" && + printf "\n" +} + +case $1 in + --help) displayHelp; exit 0;; +esac + printf "\n" && printf "${YEL}Rebasing/Syncing and running hooks...\n" && tput sgr0 &&