Doesn't support contextual flags with multiple definitions (i.e. `pacman -Rc`)
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 14.2k
- Forks
- 851
- PR merge metrics
- No merged PRs in 30d
Description
the -c flag for pacman has differing definitions based on the letter that comes before, but this tool only shows the first explanation (which applies to pacman -Qc) rather than the contextually correct one.
Observed behavior: pacman -Rc describes -c using the definition for --changelog, which only applies as an option for -Q.
Expected behavior: pacman -Rc describes -c using the definition for --cascade, which applies to -R.
https://manpages.ubuntu.com/manpages/resolute/man8/pacman.8.html
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported pacman -Rc behavior and compare it with pacman -Qc, using the linked pacman man page to verify the contextual definitions. Trace how explainshell matches short flags to help text. Done means -c resolves to --cascade with -R and to --changelog with -Q.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100