From c53fd54ba5bf43779d97efdfa0af2f8e58261c0d Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Tue, 28 Nov 2023 15:13:13 -0500 Subject: [PATCH] hvsp: rename option -d to -p --- scripts/kernel-send-patches.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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="" ;; -- 2.20.1