From 6e4e363a1e941db2308f862c8077b11f43b01023 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Tue, 16 Feb 2021 15:37:58 -0500 Subject: users guide: Mention that -e can be given multiple times Fixes #19122. --- docs/users_guide/using.rst | 5 +++-- 1 file 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) -- cgit v1.2.1