This is an automated email from the ASF dual-hosted git repository. littlecui pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-service-center.git
The following commit(s) were added to refs/heads/master by this push: new 500b64f SCB-951 Wrong help information in scctl (#454) 500b64f is described below commit 500b64f106732688e79bde736a6b6aaceb95fdab Author: little-cui <sure_0...@qq.com> AuthorDate: Tue Oct 9 08:59:48 2018 +0800 SCB-951 Wrong help information in scctl (#454) --- scctl/pkg/plugin/README.md | 6 +++--- scctl/pkg/plugin/get/cmd.go | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scctl/pkg/plugin/README.md b/scctl/pkg/plugin/README.md index 979cdea..39096e8 100644 --- a/scctl/pkg/plugin/README.md +++ b/scctl/pkg/plugin/README.md @@ -20,9 +20,9 @@ Get the microservices list from ServiceCenter. `service` command can be instead #### Options -- `domain`(d) domain name, return `default` domain microservices list by default. -- `output`(o) support mode `wide`, return the complete microservices information(e.g., framework, endpoints). -- `all-domains` return all domains microservices information. +- `domain`(d) print the information under the specified domain in service center, print under the `default` domain by default. +- `output`(o) support mode `wide`, output the complete microservices information(e.g., framework, endpoints). +- `all-domains` print the information under all domains in service center. #### Examples diff --git a/scctl/pkg/plugin/get/cmd.go b/scctl/pkg/plugin/get/cmd.go index 05fa3ad..ba86983 100644 --- a/scctl/pkg/plugin/get/cmd.go +++ b/scctl/pkg/plugin/get/cmd.go @@ -37,9 +37,9 @@ func NewGetCommand(parent *cobra.Command) *cobra.Command { Short: "Output the resources information of service center", } parent.AddCommand(cmd) - cmd.PersistentFlags().StringVarP(&Domain, "domain", "d", "default", "the info of the service center") - cmd.PersistentFlags().StringVarP(&Output, "output", "o", "", "print the info of the service center") - cmd.PersistentFlags().BoolVar(&AllDomains, "all-domains", false, "print the info of the service center") + cmd.PersistentFlags().StringVarP(&Domain, "domain", "d", "default", "print the information under the specified domain in service center") + cmd.PersistentFlags().StringVarP(&Output, "output", "o", "", "output the complete microservice information(e.g., framework, endpoints)") + cmd.PersistentFlags().BoolVar(&AllDomains, "all-domains", false, "print the information under all domains in service center") return cmd }