summaryrefslogtreecommitdiff
path: root/utils/hpc/HpcCombine.hs
diff options
context:
space:
mode:
authorYuras Shumovich <shumovichy@gmail.com>2015-02-17 08:39:54 -0600
committerAustin Seipp <austin@well-typed.com>2015-02-17 09:06:11 -0600
commit1b82619bc2ff36341d916c56b0cd67a378a9c222 (patch)
tree4cfeaa0104ee6ab3462a6121181068d2486ab430 /utils/hpc/HpcCombine.hs
parent08102b3dcffb715938cf197b455f873e615d2bc2 (diff)
downloadhaskell-1b82619bc2ff36341d916c56b0cd67a378a9c222.tar.gz
Add configurable verbosity level to hpc
Summary: All commands now have `--verbosity` flag, so one can configure cabal package with `--hpc-options="--verbosity=0"`. Right now it is used only in `hpc markup` to supress unnecessary output. Reviewers: austin Reviewed By: austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D660 GHC Trac Issues: #10091
Diffstat (limited to 'utils/hpc/HpcCombine.hs')
-rw-r--r--utils/hpc/HpcCombine.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/hpc/HpcCombine.hs b/utils/hpc/HpcCombine.hs
index b57112f45e..db6ae9c948 100644
--- a/utils/hpc/HpcCombine.hs
+++ b/utils/hpc/HpcCombine.hs
@@ -21,6 +21,7 @@ sum_options
. includeOpt
. outputOpt
. unionModuleOpt
+ . verbosityOpt
sum_plugin :: Plugin
sum_plugin = Plugin { name = "sum"
@@ -40,6 +41,7 @@ combine_options
. combineFunOpt
. combineFunOptInfo
. unionModuleOpt
+ . verbosityOpt
combine_plugin :: Plugin
combine_plugin = Plugin { name = "combine"
@@ -59,6 +61,7 @@ map_options
. mapFunOpt
. mapFunOptInfo
. unionModuleOpt
+ . verbosityOpt
map_plugin :: Plugin
map_plugin = Plugin { name = "map"