Skip to content

Commit 1676ce9

Browse files
author
openset
committed
Update: CmdUpdate
1 parent 130aad0 commit 1676ce9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: internal/update/update.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package update
22

33
import (
4+
"fmt"
45
"os"
56
"os/exec"
67

@@ -10,8 +11,8 @@ import (
1011
var 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

1718
func runUpdate(cmd *base.Command, args []string) {

0 commit comments

Comments
 (0)