Skip to content

Commit 8c3c9c7

Browse files
committed
Fix haskell#7803: doc: replace broken link to --constraint doc by s.th. reasonable
1 parent 5b4258c commit 8c3c9c7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/cabal-project.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -322,9 +322,9 @@ The following settings control the behavior of the dependency solver:
322322
constraints: bar == 2.1,
323323
bar +foo -baz
324324

325-
Valid constraints take the same form as for the `constraint
326-
command line option
327-
<installing-packages.html#cmdoption-setup-configure-constraint>`__.
325+
The option ``--constraint`` only takes a single constraint, not a
326+
comma-separated list of constraints. To make up for this, it can
327+
appear several times on the command line.
328328

329329
.. cfg-field:: preferences: preference (comma separated)
330330
--preference="pkg >= 2.0"

0 commit comments

Comments
 (0)