hvsp: rename option -d to -p
[hvutilities.git] / scripts / kernel-send-patches.sh
index c41886b..df041a0 100755 (executable)
@@ -56,6 +56,7 @@ series=""
 resend="no"
 GIT_FORMAT_PATCH_SUBJECT="PATCH"
 skip_compile=0
+CHECKPATCH_OPS="--strict"
 
 print_usage()
 {
@@ -63,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}"
             ;;
@@ -91,6 +89,9 @@ while getopts "de:f:hnrs:" flag ;do
         n)
             skip_compile=1
             ;;
+        p)
+            resend="yes"
+            ;;
         r)
             DRY_RUN=""
             ;;