summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/update.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/update.go b/cmd/update.go
index c1aaec3..fe1e958 100644
--- a/cmd/update.go
+++ b/cmd/update.go
@@ -11,11 +11,11 @@ import (
var updateCmd = &cobra.Command{
Use: "update",
Short: "Update dborg to the latest version",
- Long: `Update dborg by running go install git.db.org.ai/dborg`,
+ Long: `Update dborg by running go install git.db.org.ai/dborg@latest`,
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("Updating dborg...")
- installCmd := exec.Command("go", "install", "git.db.org.ai/dborg")
+ installCmd := exec.Command("go", "install", "git.db.org.ai/dborg@latest")
installCmd.Stdout = os.Stdout
installCmd.Stderr = os.Stderr