File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ The commands are:
2121 open open a problem solution in browser
2222 test run go test
2323 description build all problems description file
24- update update self
24+ update update or upgrade self
2525 clean remove cached files
2626 version print leetcode version
2727 help show command usage
Original file line number Diff line number Diff line change 11package update
22
33import (
4+ "fmt"
45 "os"
56 "os/exec"
67
@@ -10,8 +11,8 @@ import (
1011var CmdUpdate = & base.Command {
1112 Run : runUpdate ,
1213 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 ) ,
1516}
1617
1718func runUpdate (cmd * base.Command , args []string ) {
You can’t perform that action at this time.
0 commit comments