Merge pull request #231 from ysicing/V5.1

[fmt] Update the description of grctl
This commit is contained in:
ysicing 2019-03-11 16:12:11 +08:00 committed by GitHub
commit 33a39abfb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -40,7 +40,7 @@ func NewCmdDomain() cli.Command {
Usage: "domain",
},
},
Usage: "",
Usage: "Default *.grapps.cn domain resolution",
Action: func(c *cli.Context) error {
ip := c.String("ip")
if len(ip) == 0 {

View File

@ -67,8 +67,8 @@ func NewCmdInit() cli.Command {
},
cli.StringFlag{
Name: "rainbond-version",
Usage: "Rainbond Install Version. default 5.0",
Value: "5.0",
Usage: "Rainbond Install Version. default 5.1",
Value: "5.1",
},
cli.StringFlag{
Name: "rainbond-repo",

View File

@ -38,7 +38,7 @@ import (
func NewCmdReset() cli.Command {
c := cli.Command{
Name: "reset",
Usage: "重置当前节点grctl reset",
Usage: "reset the current node",
Action: func(c *cli.Context) error {
resetCurrentNode(c)
return nil
@ -50,7 +50,7 @@ func NewCmdReset() cli.Command {
func resetCurrentNode(c *cli.Context) {
// stop rainbond services
fmt.Println("Start stop rainbond services")
//fmt.Println("Start stop rainbond services")
cmd := exec.Command("grclis", "reset")
cmd.Stdout = os.Stdout