Skip to content

cabal clean --help still thinks that dist is the default --builddir #10813

Open
@andreasabel

Description

@andreasabel
$ cabal-3.14.1.1 clean --help                                                                   
Clean the package store and remove temporary files.

Usage: cabal-3.14.1.1 new-clean [FLAGS]

Removes all temporary files created during the building process (.hi, .o,
preprocessed sources, etc.) and also empties out the local caches (by
default).


Flags for clean:
...
 --builddir=DIR                 The directory where Cabal puts generated build
                                files (default dist)
  • That should be dist-newstyle rather than dist, I suppose.
  • new-clean should be just clean (correct would also be v2-clean but the v2 prefix is generally not printed).

I also think it would be good that the help text "Removes all temporary files..." would add the clarification "in DIR (see --builddir below)".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions