@@ -95,6 +95,16 @@ describe("argv helpers", () => {
|
95 | 95 | argv: ["node", "openclaw", "plugins", "help", "list", "--help"], |
96 | 96 | expected: ["node", "openclaw", "plugins", "list", "--help"], |
97 | 97 | }, |
| 98 | +{ |
| 99 | +name: "unknown plugin command group help target", |
| 100 | +argv: ["node", "openclaw", "external-plugin", "help", "inspect"], |
| 101 | +expected: ["node", "openclaw", "external-plugin", "inspect", "--help"], |
| 102 | +}, |
| 103 | +{ |
| 104 | +name: "unknown plugin command group help target help flag", |
| 105 | +argv: ["node", "openclaw", "external-plugin", "help", "inspect", "--help"], |
| 106 | +expected: ["node", "openclaw", "external-plugin", "inspect", "--help"], |
| 107 | +}, |
98 | 108 | { |
99 | 109 | name: "extra help positionals remain untouched", |
100 | 110 | argv: ["node", "openclaw", "backup", "help", "missing", "extra", "--help"], |
|