summaryrefslogtreecommitdiff
path: root/docs/users_guide/using.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/users_guide/using.rst')
-rw-r--r--docs/users_guide/using.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/users_guide/using.rst b/docs/users_guide/using.rst
index 9ec26f2bb2..4373a4a8d5 100644
--- a/docs/users_guide/using.rst
+++ b/docs/users_guide/using.rst
@@ -998,6 +998,16 @@ messages and in GHCi:
start at zero. This choice was made to follow existing convention
(i.e. this is how Emacs does it).
+.. ghc-flag:: -freverse-errors
+ :shortdesc: Output errors in reverse order
+ :type: dynamic
+ :reverse: -fno-reverse-errors
+ :category: verbosity
+
+ Causes GHC to output errors in reverse line-number order, so that
+ the errors and warnings that originate later in the file are
+ displayed first.
+
.. ghc-flag:: -H ⟨size⟩
:shortdesc: Set the minimum size of the heap to ⟨size⟩
:type: dynamic