simon824 commented on pull request #1053:
URL:
https://github.com/apache/incubator-seatunnel/pull/1053#issuecomment-1014994002
> I think this way of judging is redundant,you can make a unified judgment
on all parameters @simon824 The following judgment method is good: `if [ -z
${MASTER} ] || [ -z ${DEPLOY_MODE} ] || [ -z ${CONFIG_FILE} ]; then echo
"Error: The following options are required: [-e | --deploy-mode], [-m |
--master], [-c | --config]" usage exit -1 fi`
Thanks for your reply, `shift 2` will cause infinite loop in these scripts,
so we need to judge values before `shift 2`.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]