summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-02-16 15:37:58 -0500
committerBen Gamari <ben@smart-cactus.org>2021-02-16 15:37:58 -0500
commit6e4e363a1e941db2308f862c8077b11f43b01023 (patch)
tree6f92c006e83d32f76f1641965ef94436ee680b3d
parent963e1e9aedf0ee70d4e817640ec9845ed00ce0cf (diff)
downloadhaskell-wip/T19122.tar.gz
users guide: Mention that -e can be given multiple timeswip/T19122
Fixes #19122.
-rw-r--r--docs/users_guide/using.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/users_guide/using.rst b/docs/users_guide/using.rst
index abdcf602ec..dee39d4d94 100644
--- a/docs/users_guide/using.rst
+++ b/docs/users_guide/using.rst
@@ -295,8 +295,9 @@ The available mode flags are:
Expression-evaluation mode. This is very similar to interactive
mode, except that there is a single expression to evaluate (⟨expr⟩)
- which is given on the command line. See :ref:`eval-mode` for more
- details.
+ which is given on the command line. This flag may be given multiple
+ times, in which case each expression is evaluated sequentially.
+ See :ref:`eval-mode` for more details.
.. ghc-flag:: -E
:shortdesc: Stop after preprocessing (``.hspp`` file)