haskell / haskell/cabal

Minor help glitch in `cabal-validate`

Open Beginner friendly
#10,514 1 comment 1 reaction 0 assignees View on GitHub
cabal-validate priority: low type: bug
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

**Describe the bug**
`--no-solver-benchmarks` has the same help text as `--solver-benchmarks`.
```
--solver-benchmarks Build and trial run `solver-benchmarks`
--no-solver-benchmarks Build and trial run `solver-benchmarks`
```

**To Reproduce**
`./validate.sh --help`

**Expected behavior**
I would expect `--no-solver-benchmarks to say it does _not_ build and run the solver benchmarks.

**System information**
- Linux x86 (Ubuntu 24.04)
- cabal HEAD, ghc 9.6.6

Contributor guide

Open the contributing guide

Research direction

Start with validate.sh and the cabal-validate --help entry point, then locate the definitions for --solver-benchmarks and --no-solver-benchmarks. Update the latter's help text to describe that it does not build or run solver benchmarks, and run ./validate.sh --help to verify the output.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
cli
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.