Don't emit 'Skipping' messages unless -v2 or higher is on
[ghc-hetmet.git] / compiler / main / HscMain.lhs
index fdad852..d5d920d 100644 (file)
@@ -397,9 +397,9 @@ batchMsg mb_mod_index recomp
          liftIO $ do
          if recomp
             then showMsg "Compiling "
-            else showMsg "Skipping  "
-
-
+            else if verbosity (hsc_dflags hsc_env) >= 2
+                    then showMsg "Skipping  "
+                    else return ()
 
 --------------------------------------------------------------
 -- FrontEnds