fix(cli): guide onboarding option errors · openclaw/openclaw@346e327
vincentkoc
·
2026-05-10
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -477,7 +477,7 @@ async function runGatewayCommand(opts: GatewayRunOpts) {
|
477 | 477 | wsLogRaw !== "compact" && |
478 | 478 | wsLogRaw !== "full" |
479 | 479 | ) { |
480 | | -defaultRuntime.error('Invalid --ws-log (use "auto", "full", "compact")'); |
| 480 | +defaultRuntime.error('Invalid --ws-log. Use "auto", "full", or "compact".'); |
481 | 481 | defaultRuntime.exit(1); |
482 | 482 | } |
483 | 483 | setGatewayWsLogStyle(wsLogStyle); |
@@ -560,7 +560,7 @@ async function runGatewayCommand(opts: GatewayRunOpts) {
|
560 | 560 | toOptionString(opts.bind) ?? cfg.gateway?.bind, |
561 | 561 | ); |
562 | 562 | if (bindExplicitRawStr !== undefined && !VALID_BIND_MODES.has(bindExplicitRawStr)) { |
563 | | -defaultRuntime.error('Invalid --bind (use "loopback", "lan", "tailnet", "auto", or "custom")'); |
| 563 | +defaultRuntime.error('Invalid --bind. Use "loopback", "lan", "tailnet", "auto", or "custom".'); |
564 | 564 | defaultRuntime.exit(1); |
565 | 565 | return; |
566 | 566 | } |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。