[commit: Cabal] master: Add verbosity flag to report command (7fd5006)
Ian Lynagh
igloo at earth.li
Fri Jun 24 01:57:42 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/7fd50064530b431daeee2b9f6d84f3ca0df2e432
>---------------------------------------------------------------
commit 7fd50064530b431daeee2b9f6d84f3ca0df2e432
Author: Duncan Coutts <duncan at haskell.org>
Date: Fri Aug 8 15:06:17 2008 +0000
Add verbosity flag to report command
>---------------------------------------------------------------
cabal-install/Distribution/Client/Setup.hs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cabal-install/Distribution/Client/Setup.hs b/cabal-install/Distribution/Client/Setup.hs
index 61082a2..bfe4c78 100644
--- a/cabal-install/Distribution/Client/Setup.hs
+++ b/cabal-install/Distribution/Client/Setup.hs
@@ -150,7 +150,7 @@ reportCommand = CommandUI {
commandDescription = Nothing,
commandUsage = \pname -> "Usage: " ++ pname ++ " report\n",
commandDefaultFlags = toFlag normal,
- commandOptions = mempty
+ commandOptions = \_ -> [optionVerbosity id const]
}
-- ------------------------------------------------------------
More information about the Cvs-libraries
mailing list