From 9f26bd3f903f8729b941f76b67ae903a4554a077 Mon Sep 17 00:00:00 2001 From: nomsolence Date: Sat, 3 Oct 2020 00:58:27 -0700 Subject: [PATCH] Fix multi-line message support --- wp-git-sync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-git-sync.sh b/wp-git-sync.sh index c52c7ca..4c1f917 100644 --- a/wp-git-sync.sh +++ b/wp-git-sync.sh @@ -59,7 +59,7 @@ while :; do ;; -m|--message) #optional if [[ $2 ]]; then - MESSAGE=$2 + MESSAGE="$2" shift else ERRORMESSAGES="ERROR: '-m | --message' requires a non-empty option argument."