Skip to content

Commit 531cbb1

Browse files
committed
Mention the warning in the docs
1 parent 4e548ff commit 531cbb1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎doc/cabal-project-description-file.rst‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,9 @@ Project options
445445
* ``fallback`` - the new parser using Parsec, but falling back to the old parser if it fails
446446
* ``compare`` - the new parser using Parsec, but comparing the results with the old parser
447447

448-
This option can only be specified from the command line.
448+
This option can only be specified from the command line. The parser is
449+
chosen before the project file is read, so a ``project-file-parser`` field
450+
in a project file is ignored with a warning.
449451

450452
.. option:: -z, --ignore-project
451453

0 commit comments

Comments
 (0)