diff options
author | Ben Gamari <ben@smart-cactus.org> | 2021-02-16 15:37:58 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-02-18 13:51:22 -0500 |
commit | 6863b196aa178504db124b4f0bfedac8a4d04e2b (patch) | |
tree | 4ccbea12723400463dd39e23de03cc1241ccd9e8 /docs | |
parent | a1126baccee9d2d40cf729ee4714cb2902b36bd3 (diff) | |
download | haskell-6863b196aa178504db124b4f0bfedac8a4d04e2b.tar.gz |
users guide: Mention that -e can be given multiple times
Fixes #19122.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/users_guide/using.rst | 5 |
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) |