@@ -85,6 +85,16 @@ describe("argv helpers", () => {
|
85 | 85 | argv: ["node", "openclaw", "docs", "help", "--help"], |
86 | 86 | expected: ["node", "openclaw", "docs", "help", "--help"], |
87 | 87 | }, |
| 88 | +{ |
| 89 | +name: "known command group help target", |
| 90 | +argv: ["node", "openclaw", "plugins", "help", "list"], |
| 91 | +expected: ["node", "openclaw", "plugins", "list", "--help"], |
| 92 | +}, |
| 93 | +{ |
| 94 | +name: "known command group help target help flag", |
| 95 | +argv: ["node", "openclaw", "plugins", "help", "list", "--help"], |
| 96 | +expected: ["node", "openclaw", "plugins", "list", "--help"], |
| 97 | +}, |
88 | 98 | { |
89 | 99 | name: "extra help positionals remain untouched", |
90 | 100 | argv: ["node", "openclaw", "backup", "help", "missing", "extra", "--help"], |
|