hvsp: rename option -d to -p
authorHugo Villeneuve <hugo@hugovil.com>
Tue, 28 Nov 2023 20:13:13 +0000 (15:13 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Tue, 28 Nov 2023 20:13:13 +0000 (15:13 -0500)
scripts/kernel-send-patches.sh

index ebbc3d4..df041a0 100755 (executable)
@@ -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=""
             ;;