summaryrefslogtreecommitdiff
path: root/hadrian/src/Builder.hs
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2021-09-24 10:25:56 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-09-28 01:53:36 -0400
commit26f24aeca7784f9f9a2a49bce42eaeb60b94d39f (patch)
treed7286fefdc8df0d803274daf9cb5b8c5ceaadff9 /hadrian/src/Builder.hs
parent58fea28ea9942e7291ce64b0ff5bf2d24183a794 (diff)
downloadhaskell-26f24aeca7784f9f9a2a49bce42eaeb60b94d39f.tar.gz
hadrian: Update comments on verbosity handling
Diffstat (limited to 'hadrian/src/Builder.hs')
-rw-r--r--hadrian/src/Builder.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/hadrian/src/Builder.hs b/hadrian/src/Builder.hs
index 4e488504ac..c746f95695 100644
--- a/hadrian/src/Builder.hs
+++ b/hadrian/src/Builder.hs
@@ -426,7 +426,7 @@ applyPatch dir patch = do
putBuild $ "| Apply patch " ++ file
quietly $ cmd' [Cwd dir, FileStdin file] [path, "-p0"]
--- | Wrapper for 'cmd' that makes sure we include both stdout and stderr in
--- Shake's output when any of our builder commands fail.
+-- | Wrapper for 'cmd' that suppresses the double reporting of StdErr and
+-- Stdout when a command fails.
cmd' :: (Partial, CmdArguments args) => args :-> Action r
cmd' = cmd [WithStderr False, WithStdout False]