[ 
https://issues.apache.org/jira/browse/SCB-991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16666836#comment-16666836
 ] 

ASF GitHub Bot commented on SCB-991:
------------------------------------

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:
[email protected]


> Optimize args parsing
> ---------------------
>
>                 Key: SCB-991
>                 URL: https://issues.apache.org/jira/browse/SCB-991
>             Project: Apache ServiceComb
>          Issue Type: Bug
>          Components: Service-Center
>            Reporter: little-cui
>            Assignee: little-cui
>            Priority: Major
>             Fix For: service-center-1.1.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to