fix(cli): preserve explicit command intent

This commit is contained in:
Peter Steinberger
2026-05-24 01:17:50 +01:00
parent a4e95cf7b1
commit 9410eb30cf
4 changed files with 34 additions and 3 deletions

View File

@@ -131,7 +131,7 @@ ${theme.muted("Docs:")} ${formatDocsLink("/cli/update", "docs.openclaw.ai/cli/up
channel: opts.channel as string | undefined,
timeout: inheritedUpdateTimeout(opts, command),
yes: Boolean(opts.yes),
restart: Boolean(opts.restart),
restart: false,
});
} catch (err) {
defaultRuntime.error(String(err));