Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal On branch : master
http://hackage.haskell.org/trac/ghc/changeset/4d67cdd33215c8c17ac4e96a4933ecc7c2fa0064 >--------------------------------------------------------------- commit 4d67cdd33215c8c17ac4e96a4933ecc7c2fa0064 Author: Duncan Coutts <[email protected]> Date: Mon Dec 17 18:56:05 2007 +0000 Add in more global help text like that of Setup.hs >--------------------------------------------------------------- cabal-install/Hackage/Setup.hs | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/cabal-install/Hackage/Setup.hs b/cabal-install/Hackage/Setup.hs index deb65c5..fe99559 100644 --- a/cabal-install/Hackage/Setup.hs +++ b/cabal-install/Hackage/Setup.hs @@ -76,7 +76,15 @@ updateConfig flags conf = conf { globalCommand :: CommandUI Cabal.GlobalFlags globalCommand = Cabal.globalCommand { - commandDescription = Nothing + commandDescription = Just $ \pname -> + "Typical step for installing Cabal packages:\n" + ++ " " ++ pname ++ " install [PACKAGES]\n" + ++ "\nOccasionally you need to update the list of available packages:\n" + ++ " " ++ pname ++ " update\n" + ++ "\nFor more information about a command, try '" + ++ pname ++ " COMMAND --help'." + ++ "\nThis program is the command line interface to the Haskell Cabal Infrastructure." + ++ "\nSee http://www.haskell.org/cabal/ for more information.\n" } installCommand :: ProgramConfiguration -> CommandUI Cabal.ConfigFlags _______________________________________________ Cvs-libraries mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-libraries
