X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=scripts%2Fkernel-send-patches.sh;fp=scripts%2Fkernel-send-patches.sh;h=df041a00e3be4131cdd282cd8601cf8d955588bb;hb=c53fd54ba5bf43779d97efdfa0af2f8e58261c0d;hp=ebbc3d4f25c3598c38e5ea4d32b17892c79361a3;hpb=8ede99bde4936344728d7917b57e605ef58bd2b8;p=hvutilities.git 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="" ;;