From 213585837b8d6e6379b36097e9b462dc054a3d67 Mon Sep 17 00:00:00 2001 From: Phil de Joux Date: Fri, 10 Jan 2025 07:05:18 -0500 Subject: [PATCH] Remove disclosing from changelog --- changelog.d/pr-9744.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/changelog.d/pr-9744.md b/changelog.d/pr-9744.md index 747f305a556..6f149d82162 100644 --- a/changelog.d/pr-9744.md +++ b/changelog.d/pr-9744.md @@ -1,11 +1,18 @@ --- -synopsis: Discovery targets in a project +synopsis: Discover targets in a project packages: [cabal-install] prs: 9744 issues: [4070,8953] significance: significant --- -Adds a `cabal target` command for discovering, disclosing and checking selected -targets. The returned list shows targets in fully-qualified form. These are -unambiguous and can be used with other commands expecting `[TARGETS]`. +Adds a `cabal target` command that is useful for discovering targets in a +project for use with other commands taking ``[TARGETS]``. + +Any target form except for a script target can be used with ``cabal target``. + +This command, like many others, takes ``[TARGETS]``. Taken together, these will +select for a set of targets in the project. When none are supplied, the command +acts as if ``all`` was supplied. Targets in the returned subset are shown sorted +and fully-qualified with package, component type and component name such as +`Cabal-tests:test:hackage-tests`.