File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ The commands are:
21
21
open open a problem solution in browser
22
22
test run go test
23
23
description build all problems description file
24
- update update self
24
+ update update or upgrade self
25
25
clean remove cached files
26
26
version print leetcode version
27
27
help show command usage
Original file line number Diff line number Diff line change 1
1
package update
2
2
3
3
import (
4
+ "fmt"
4
5
"os"
5
6
"os/exec"
6
7
@@ -10,8 +11,8 @@ import (
10
11
var CmdUpdate = & base.Command {
11
12
Run : runUpdate ,
12
13
UsageLine : "update" ,
13
- Short : "update self" ,
14
- Long : "automates testing the packages." ,
14
+ Short : "update or upgrade self" ,
15
+ Long : fmt . Sprintf ( "fetch the newest version of %s." , base . CmdName ) ,
15
16
}
16
17
17
18
func runUpdate (cmd * base.Command , args []string ) {
You can’t perform that action at this time.
0 commit comments