Minor help glitch in `cabal-validate`

Open Beginner friendly
#10,514 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

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.

Description

cabal-validate priority: low type: bug

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
Dominant language
Haskell
Stars
1.7k
Forks
751
Avg merge
4d 2h
Merged PRs (30d)
25

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from haskell/cabal

All issues in haskell/cabal

Similar issues

More Haskell issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.