athityakumar / athityakumar/colorls
Combination of flags not working with `spec`
- Dominant language
- Ruby
- Stars
- 5.1k
- Forks
- 396
- PR merge metrics
- No merged PRs in 30d
Description
### Description
On macOS Sonoma (M1)
Terminal: Kitty
Typed all the examples from the README.md file, all worked correctly besides the combination of flags that have `spec` inside.

After enter the command, it shows the error:
`colorls: Specified path 'spec' doesn't exist.`
- Relevant Issues : (none)
- Relevant PRs : (none)
- Type of issue :
- [ ] Installation
- [ ] Font-related
- [ ] Feature request
- [x] Bug in existing feature
- [ ] Developer mode : Code quality / Tests / Documentation
Contributor guide
Research direction
Start with the flag-combination examples in README.md and reproduce the failing commands in the reported macOS Sonoma, M1, and Kitty environment. Trace how combinations containing `spec` are parsed and verify that `spec` is treated as a flag rather than the path `spec`; done means the affected README examples run without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100