Skip to content

Commit

Permalink
优化帮助
Browse files Browse the repository at this point in the history
  • Loading branch information
monigo committed Dec 2, 2019
1 parent 31dfe5d commit dc67823
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/srun/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func (Client) ShowVersion() {
fmt.Println("System:")
fmt.Printf("\tOS:%s ARCH:%s GOVERSION:%s\n", runtime.GOOS, runtime.GOARCH, runtime.Version())
fmt.Println("About:")
fmt.Printf("\tVersion:%s\n", Version)
fmt.Printf("\tVersion: %s\n", Version)
fmt.Println("\n\t</> with ❤ By vouv")
}

Expand All @@ -181,6 +181,7 @@ func (s *Client) CmdHelp(cmd string, params ...string) {

func (Client) CmdList() string {
sb := &strings.Builder{}
sb.WriteString("Srun " + Version + "\r\n")
sb.WriteString(fmt.Sprint("\r\nUsage: srun [OPTIONS] COMMAND \r\n\r\n"))

sb.WriteString("A efficient client for BIT campus network\r\n\r\n")
Expand Down

0 comments on commit dc67823

Please sign in to comment.