legendtkl opened a new pull request, #1788:
URL: https://github.com/apache/incubator-seatunnel/pull/1788

   ## Purpose of this pull request
   
   related issue: https://github.com/apache/incubator-seatunnel/issues/1787
   
   With this PR, we can get a better output of usage help message
   
   Before
   ```shell
   ./start-seatunnel-flink.sh -h
   Usage: start-seatunnel-flink.sh [options] Options: -t, --check check config 
Default: false start-seatunnel-flink.sh start-seatunnel-spark.sh 
start-seatunnel-sql.sh -c, --config Config file -h, --help Show the usage 
message -r, --run-mode job run mode, run or run-application Default: RUN 
Possible Values: [RUN, APPLICATION_RUN] -i, --variable variable substitution, 
such as -i city=beijing, or -i date=20190318 Default: []
   ```
   
   After
   ```shell
   Usage: start-seatunnel-sql.sh [options]
     Options:
       -t, --check    check config (default: false)
     * -c, --config   Config file
       -h, --help     Show the usage message
       -r, --run-mode job run mode, run or run-application (default: RUN) 
                      (values: [RUN, APPLICATION_RUN])
       -i, --variable variable substitution, such as -i city=beijing, or -i 
                      date=20190318 (default: [])
   ```
   
   ## Check list
   
   * [ ] Code changed are covered with tests, or it does not need tests for 
reason:
   * [ ] If any new Jar binary package adding in your PR, please add License 
Notice according
     [New License 
Guide](https://github.com/apache/incubator-seatunnel/blob/dev/docs/en/contribution/new-license.md)
   * [ ] If necessary, please update the documentation to describe the new 
feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs
   


-- 
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]

Reply via email to