Skip to content

Show default when flags toggle feature #12180

Description

@philderbeast

What is wrong with the docs?
The cabal build --help and other help output shows flags for enabling and disabling features but doesn't say what the default is. Could we indicate which is the default?

   $ cabal build --help
   ...
    --enable-tests                 Enable dependency checking and compilation for
                                   test suites listed in the package description
                                   file.
-   --disable-tests                Disable dependency checking and compilation
+   --disable-tests (default)      Disable dependency checking and compilation
                                   for test suites listed in the package
                                   description file.

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