summaryrefslogtreecommitdiff
path: root/docs/users_guide/using.rst
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2016-11-29 13:39:28 -0500
committerBen Gamari <ben@smart-cactus.org>2016-11-29 14:39:55 -0500
commit3ec856308cbfb89299daba56337eda866ac88d6e (patch)
treeea241b4618597a1d043acd96d2fb98e1476fcb81 /docs/users_guide/using.rst
parent2d99da0b230128440e12df9556dc15789be36ef8 (diff)
downloadhaskell-3ec856308cbfb89299daba56337eda866ac88d6e.tar.gz
Replace -fshow-source-paths with -fhide-source-paths
This patch reverts the change introduced with 587dcccfdfa7a319e27300a4f3885071060b1f8e and restores the previous default output of GHC (i.e., show source path and object path for each compiled module). The -fhide-source-paths flag can be used to hide these paths and reduce the line noise. Reviewers: gracjan, nomeata, austin, bgamari, simonmar, hvr Reviewed By: hvr Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2728 GHC Trac Issues: #12851
Diffstat (limited to 'docs/users_guide/using.rst')
-rw-r--r--docs/users_guide/using.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/users_guide/using.rst b/docs/users_guide/using.rst
index f5761a4434..460201eb92 100644
--- a/docs/users_guide/using.rst
+++ b/docs/users_guide/using.rst
@@ -617,6 +617,11 @@ See also the ``--help``, ``--version``, ``--numeric-version``, and
list of some in the instances it knows about. With this flag it
prints *all* the instances it knows about.
+.. ghc-flag:: -fhide-source-paths
+
+ Starting with minimal verbosity (see :ghc-flag:`-v1`), GHC displays the
+ name, the source path and the target path of each compiled module. This flag
+ can be used to reduce GHC's output by hiding source paths and target paths.
The following flags control the way in which GHC displays types in error
messages and in GHCi: