Skip to content

Commit

Permalink
Only by default, not *only*.
Browse files Browse the repository at this point in the history
Co-Authored-By: brandon s allbery kf8nh <[email protected]>
  • Loading branch information
philderbeast and geekosaur committed Jan 14, 2025
1 parent 1d725af commit 1a0425f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cabal-install/src/Distribution/Client/CmdTarget.hs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ targetCommand =
caution =
text . wrapText $
"WARNING: For a package, all, module or filepath target, cabal target [TARGETS] \
\ will *only* show 'libs' and 'exes' of the [TARGETS]. To also show \
\ will only show 'libs' and 'exes' of the [TARGETS] by default. To also show \
\ tests and benchmarks, enable them with '--enable-tests' and \
\ '--enable-benchmarks'."

Expand Down
2 changes: 1 addition & 1 deletion doc/cabal-commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ and fully-qualified.
.. warning::

For a package, all, module or filepath target, ``cabal target [TARGETS]`` will
**only** show ``libs`` and ``exes`` of the ``[TARGETS]``. To also show tests and
only show ``libs`` and ``exes`` of the ``[TARGETS]`` by default. To also show tests and
benchmarks, enable them with ``--enable-tests`` and ``--enable-benchmarks``.

.. note::
Expand Down

0 comments on commit 1a0425f

Please sign in to comment.