You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2018/10/29 08:02:21 UTC

[GitHub] xcaspar commented on issue #471: SCB-991 Optimize args parsing

xcaspar commented on issue #471: SCB-991 Optimize args parsing
URL: https://github.com/apache/incubator-servicecomb-service-center/pull/471#issuecomment-433819477
 
 
   I think you can also replace the `flag.CommandLine.Parse(os.Args[1:])` line with `flag.Parse()`,and replace `grace.ParseCommandLine()` with `_ "github.com/apache/incubator-servicecomb-service-center/pkg/grace"` in `import` code block to increase code readability.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services