This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch v3
in repository https://gitbox.apache.org/repos/asf/causeway-app-petclinic.git

commit c9b06fb59fe56dbd4ac434becb0c80f779f3bedb
Author: Dan Haywood <[email protected]>
AuthorDate: Wed Nov 19 06:22:27 2025 +0000

    changes -x flag to -y
---
 tagger.sh | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tagger.sh b/tagger.sh
index 13c854e..1d4259f 100755
--- a/tagger.sh
+++ b/tagger.sh
@@ -1,15 +1,15 @@
 #!/bin/bash
 
 usage() {
-       echo "$(basename $0) -p previous_version -v new_version -x" >&2
+       echo "$(basename $0) -p previous_version -v new_version -y" >&2
        echo "" >&2
        echo "where:" >&2
        echo "     -p previous version" >&2
        echo "     -v new version" >&2
-       echo "     -x execute (otherwise, is a dry run)" >&2
+       echo "     -y execute (otherwise, is a dry run)" >&2
        echo "" >&2
        echo "eg:" >&2
-       echo "    $(basename $0) -p 3.4.0 -v 3.5.0 -x" >&2
+       echo "    $(basename $0) -p 3.4.0 -v 3.5.0 -y" >&2
        echo "" >&2
        exit 1
 }
@@ -18,7 +18,7 @@ PREV_VERSION=""
 NEW_VERSION=""
 EXECUTE=""
 
-while getopts ":p:v:x" opt; do
+while getopts ":p:v:y" opt; do
   case ${opt} in
     p)
       PREV_VERSION=$OPTARG
@@ -26,7 +26,7 @@ while getopts ":p:v:x" opt; do
     v)
       NEW_VERSION=$OPTARG
       ;;
-    x)
+    y)
       EXECUTE="true"
       ;;
     \? ) usage "Invalid option"

Reply via email to