Skip to content

Commit f892a1a

Browse files
fullstackjamclaude
andauthored
fix(updater): align notify hint with actual update command (#36)
The notify-only auto-update path told users to run 'openboot update --self', but no --self flag exists on the update command. Use the real invocation: 'openboot update'. Co-authored-by: Claude <noreply@anthropic.com>
1 parent ade01eb commit f892a1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/updater/updater.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ func notifyUpdate(currentVersion, latestVersion string) {
183183
if IsHomebrewInstall() {
184184
ui.Muted("Run 'brew upgrade openboot' to upgrade")
185185
} else {
186-
ui.Muted("Run 'openboot update --self' to upgrade")
186+
ui.Muted("Run 'openboot update' to upgrade")
187187
}
188188
fmt.Println()
189189
}
@@ -239,7 +239,7 @@ func doDirectUpgrade(currentVersion, latestVersion string) {
239239
ui.Info(fmt.Sprintf("Updating OpenBoot v%s → v%s...", currentClean, latestClean))
240240
if err := DownloadAndReplace(latestVersion, currentVersion); err != nil {
241241
ui.Warn(fmt.Sprintf("Auto-update failed: %v", err))
242-
ui.Muted("Run 'openboot update --self' to update manually")
242+
ui.Muted("Run 'openboot update' to update manually")
243243
fmt.Println()
244244
return
245245
}

0 commit comments

Comments
 (0)