




















@@ -105,6 +105,11 @@ describe("argv helpers", () => {
105105argv: ["node", "openclaw", "external-plugin", "help", "inspect", "--help"],
106106expected: ["node", "openclaw", "external-plugin", "inspect", "--help"],
107107},
108+{
109+name: "generated help target with trailing root option",
110+argv: ["node", "openclaw", "memory", "help", "status", "--no-color"],
111+expected: ["node", "openclaw", "--no-color", "memory", "status", "--help"],
112+},
108113{
109114name: "extra help positionals remain untouched",
110115argv: ["node", "openclaw", "backup", "help", "missing", "extra", "--help"],
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。