Skip to content

fix: error on unknown CLI flags instead of ignoring them - #28

Merged
royalpinto007 merged 2 commits into
AgentPostmortem:mainfrom
sharadvc:cursor/unknown-flags-error-611f
Sep 12, 2026
Merged

royalpinto007 merged 2 commits into
AgentPostmortem:mainfrom
sharadvc:cursor/unknown-flags-error-611f

Conversation

@sharadvc

Copy link
Copy Markdown
Contributor

Summary

Unrecognized - arguments now return ctxtrim: unknown option: <flag> and exit code 2 instead of being silently ignored.

Test plan

  • npm test

Fixes #15

@royalpinto007
royalpinto007 merged commit b2d2e2b into AgentPostmortem:main Sep 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unknown flags silently ignored

2 participants