xcaspar opened a new issue #468: Optimize args parsing
URL: https://github.com/apache/incubator-servicecomb-service-center/issues/468
 
 
   I think the `flag.ContinueOnError` should be changed to `flag.ExitOnError` 
for the following reasons:
   
   1. When the `-h` or `--help` argument is passed to the program, the program 
should print the usage and exit, rather than continuing the program after 
printing.
   
   2. When a wrong argument is passed, the flag lib will stop parsing the 
following arguments, but the program will continue with unparsed arguments.
   
   I can submit a PR if necessary.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Reply via email to