Use correct documentation flag for freverse-errors
authorSiddhanathan Shanmugam <siddhanathan@gmail.com>
Tue, 27 Oct 2015 14:08:41 +0000 (15:08 +0100)
committerBen Gamari <ben@smart-cactus.org>
Tue, 27 Oct 2015 14:08:42 +0000 (15:08 +0100)
Reviewers: austin, thomie, bgamari

Reviewed By: bgamari

Differential Revision: https://phabricator.haskell.org/D1376

GHC Trac Issues: #10848

compiler/main/DynFlags.hs

index 4af16cf..7794145 100644 (file)
@@ -2402,9 +2402,9 @@ dynamic_flags = [
                                      deprecate "Use -fno-force-recomp instead"))
   , defGhcFlag "no-recomp" (NoArg (do setGeneralFlag Opt_ForceRecomp
                                       deprecate "Use -fforce-recomp instead"))
-  , defGhcFlag "freverse-errors"
+  , defFlag "freverse-errors"
       (noArg (\d -> d {reverseErrors = True} ))
-  , defGhcFlag "fno-reverse-errors"
+  , defFlag "fno-reverse-errors"
       (noArg (\d -> d {reverseErrors = False} ))
 
         ------ HsCpp opts ---------------------------------------------------