Elffuss BraidHub

kikocis/continue public

Merge branch 'mcp-flag' of https://github.com/continuedev/continue into mcp-flag
Changeset57d99ced5e240c55705a623882c696cbea383b9afc00fdecccd378253ff3eeec
AuthorNate <sestinj@gmail.com> · 2025-08-24 18:51 -07:00
CommitterNate <sestinj@gmail.com> · 2025-08-24 18:51 -07:00
Parents60acd6c5ca13, a41e6541915c

Browse the files at this changeset

1 file changed

modified extensions/cli/src/args.ts +1 −1
@@ -44,7 +44,7 @@
4444 flagName: string,
4545 ): string | undefined {
4646 const index = args.indexOf(flagName);
47- if (index !== -1 && index + 1 < args.length) {
47+ if (index !== -1 && index + 1 < args.length && !args[index + 1].startsWith("--")) {
4848 return args[index + 1];
4949 }
5050 return undefined;