Return an error on invalid CLI usage
- What was broken
- A specific edge case in the upstream project's existing behavior needed correction.
- What I changed
- Ensured invalid command-line usage returns a non-success exit code.
- Why it matters
- A focused, reviewable fix helps preserve expected behavior for the users of this project.