We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e2c36c5 + 7bcd712 commit 69127b0Copy full SHA for 69127b0
helper/README.md
@@ -21,7 +21,7 @@ The commands are:
21
open open a problem solution in browser
22
test run go test
23
description build all problems description file
24
- update update self
+ update update or upgrade self
25
clean remove cached files
26
version print leetcode version
27
help show command usage
internal/update/update.go
@@ -1,6 +1,7 @@
1
package update
2
3
import (
4
+ "fmt"
5
"os"
6
"os/exec"
7
@@ -10,8 +11,8 @@ import (
10
11
var CmdUpdate = &base.Command{
12
Run: runUpdate,
13
UsageLine: "update",
- Short: "update self",
14
- Long: "automates testing the packages.",
+ Short: "update or upgrade self",
15
+ Long: fmt.Sprintf("fetch the newest version of %s.", base.CmdName),
16
}
17
18
func runUpdate(cmd *base.Command, args []string) {
0 commit comments