sarutak commented on a change in pull request #28234: [SPARK-31462][INFRA] The 
usage of getopts and case statement is wrong in do-release.sh
URL: https://github.com/apache/spark/pull/28234#discussion_r409800909
 
 

 ##########
 File path: dev/create-release/do-release-docker.sh
 ##########
 @@ -62,7 +62,7 @@ while getopts "d:hj:ns:t:" opt; do
     j) JAVA="$OPTARG" ;;
     s) RELEASE_STEP="$OPTARG" ;;
     h) usage ;;
-    ?) error "Invalid option. Run with -h for help." ;;
+    \?) error "Invalid option. Run with -h for help." ;;
 
 Review comment:
   O.K, I'll fix it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to