Skip to content

Commit 7c76131

Browse files
tanshunwangclaude
andcommitted
fix(cli): setup --non-interactive health hints point to unsupported flags
When 'openclaw setup --non-interactive --accept-risk' fails on the gateway health check, the recovery hint tells users to re-run with '--install-daemon' or '--skip-health', but those flags only exist on 'openclaw onboard', not on 'openclaw setup'. Update the hint to reference the correct command surface: openclaw onboard --non-interactive --accept-risk --install-daemon openclaw onboard --non-interactive --accept-risk --skip-health Fixes #93947 Co-Authored-By: Claude <[email protected]>
1 parent be4c541 commit 7c76131

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/commands/onboard-non-interactive

‎src/commands/onboard-non-interactive/local.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ export async function runNonInteractiveLocalSetup(params: {
343343
hints: !opts.installDaemon
344344
? [
345345
"Non-interactive local setup only waits for an already-running gateway unless you pass --install-daemon.",
346-
`Fix: start \`${formatCliCommand("openclaw gateway run")}\`, re-run with \`--install-daemon\`, or use \`--skip-health\`.`,
346+
`Fix: start \`${formatCliCommand("openclaw gateway run")}\`, or use \`${formatCliCommand("openclaw onboard --non-interactive --accept-risk --install-daemon")}\` to install the daemon, or \`${formatCliCommand("openclaw onboard --non-interactive --accept-risk --skip-health")}\` to bypass the health check.`,
347347
process.platform === "win32"
348348
? "Native Windows managed gateway install tries Scheduled Tasks first and falls back to a per-user Startup-folder login item when task creation is denied."
349349
: undefined,

0 commit comments

Comments
 (0)