Skip to content

Commit 42eaa5e

Browse files
fix(cli): replace hardcoded flag terminator in command path parsing
1 parent 3b2b29f commit 42eaa5e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/cli/argv.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ describe("argv helpers", () => {
438438
},
439439
{
440440
name: "terminator cuts parsing",
441-
argv: ["node", "openclaw", "status", "--", "ignored"],
441+
argv: ["node", "openclaw", "status", FLAG_TERMINATOR, "ignored"],
442442
expected: ["status"],
443443
},
444444
])("extracts command path: $name", ({ argv, expected }) => {

0 commit comments

Comments
 (0)