From dcae57f7d11cf5e6546e940a897f7c19e82000e6 Mon Sep 17 00:00:00 2001 From: Francesco Ariis Date: Thu, 26 Oct 2023 15:48:41 +0200 Subject: [PATCH] Fix Setup.hs `--dependency` example --- doc/setup-commands.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/setup-commands.rst b/doc/setup-commands.rst index 2762b8dcb18..3df4ef35c36 100644 --- a/doc/setup-commands.rst +++ b/doc/setup-commands.rst @@ -146,7 +146,7 @@ This has the following effects: explicitly specified using :option:`--dependency` simply by giving the name of the sublibrary; e.g., the dependency for a sublibrary named ``foo`` is given as - ``--dependency=pkg-internal=pkg-1.0-internal-abcd``. + ``--dependency", "Lib:foo=foo-0.1-abc``. - Only the dependencies needed for the requested component are required. Similarly, when :option:`--exact-configuration` is specified,