From: Hugo Villeneuve Date: Tue, 28 Nov 2023 20:13:13 +0000 (-0500) Subject: hvsp: rename option -d to -p X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=c53fd54ba5bf43779d97efdfa0af2f8e58261c0d;p=hvutilities.git hvsp: rename option -d to -p --- diff --git a/scripts/kernel-send-patches.sh b/scripts/kernel-send-patches.sh index ebbc3d4..df041a0 100755 --- a/scripts/kernel-send-patches.sh +++ b/scripts/kernel-send-patches.sh @@ -64,21 +64,18 @@ print_usage() echo "Usage: ${PROG_NAME} [OPTIONS...]" echo echo "Options:" - echo " -d resend patch" echo " -e end commit (string)" echo " -f folder containing patch infos" echo " -h display this help and exit" echo " -n dot not compile patches" + echo " -p resend patch" echo " -r really send emails (default = dry-run)" echo " -s start commit (string)" echo } -while getopts "de:f:hnrs:" flag ;do +while getopts "e:f:hnprs:" flag ;do case ${flag} in - d) - resend="yes" - ;; e) commit_end="${OPTARG}" ;; @@ -92,6 +89,9 @@ while getopts "de:f:hnrs:" flag ;do n) skip_compile=1 ;; + p) + resend="yes" + ;; r) DRY_RUN="" ;;