@@ -210,11 +210,11 @@ files of a package:
210
210
to Cabal can be used in place of *prog *. For example:
211
211
``--alex-options="--template=mytemplatedir/" ``. The *options * is
212
212
split into program options based on spaces. Any options containing
213
- embedded spaces need to be quoted with " double quotes" , for example
214
- ``--foo-options='--bar="C:\Program Files\Bar"' ``. (The `` ' single' `` quotes
215
- are for your shell, the ``"double" `` quotes are passed to Cabal.) As an
216
- alternative that takes only one option at a time but avoids the need to
217
- quote, use :option: `--PROG-option ` instead.
213
+ embedded spaces need to be quoted with double quotes (`` "" ``) , for example
214
+ ``--foo-options='--bar="C:\Program Files\Bar"' ``. (The single quotes
215
+ (`` '' ``) are for your shell, the ``"double" `` quotes are passed to Cabal.)
216
+ As an alternative that takes only one option at a time but avoids the need
217
+ to quote, use :option: `--PROG-option ` instead.
218
218
219
219
Note: if *prog * is ``ghc ``, then options that do not affect build
220
220
artifacts, such as warning flags, are dropped. This is because
@@ -1459,7 +1459,7 @@ Flags for repl:
1459
1459
1460
1460
.. option :: --PROG-options=OPTS
1461
1461
1462
- Give extra options to PROG (split on spaces, "quotes" prevent splitting).
1462
+ Give extra options to PROG (split on spaces, use "" to prevent splitting).
1463
1463
1464
1464
.. option :: --repl-no-load
1465
1465
0 commit comments