Project
cortex
Description
When running cortex mcp add test --url invalid-url, the error message correctly says URL must start with http/https, but if someone tries cortex mcp add test -v -- echo test, the -v is interpreted as an option. The help should clarify the -- separator requirement.
Error Message
Debug Logs
System Information
$ bounty info
Bounty Challenge v0.1.0
OS: Linux 6.8.0-87-generic (Ubuntu 24.04.3 LTS)
CPU: Intel Core i7
RAM: 16 GB
Cortex Version: 0.0.4-alpha
Screenshots
No response
Steps to Reproduce
- Run
cortex mcp add test -v -- echo test
Expected Behavior
Clear error or hint about using -- separator before commands starting with -
Actual Behavior
The -v might be interpreted as verbose flag rather than command argument
Additional Context
This bug was discovered through systematic testing of the Cortex CLI edge cases, error handling, and output formatting. The issue affects user experience and may cause confusion or unexpected behavior in production use cases.
Project
cortex
Description
When running
cortex mcp add test --url invalid-url, the error message correctly says URL must start with http/https, but if someone triescortex mcp add test -v -- echo test, the -v is interpreted as an option. The help should clarify the -- separator requirement.Error Message
Debug Logs
System Information
Screenshots
No response
Steps to Reproduce
cortex mcp add test -v -- echo testExpected Behavior
Clear error or hint about using -- separator before commands starting with -
Actual Behavior
The -v might be interpreted as verbose flag rather than command argument
Additional Context
This bug was discovered through systematic testing of the Cortex CLI edge cases, error handling, and output formatting. The issue affects user experience and may cause confusion or unexpected behavior in production use cases.