Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal

On branch  : 

http://hackage.haskell.org/trac/ghc/changeset/f94148e389279837f7b958764f03f3d9f60389d9

>---------------------------------------------------------------

commit f94148e389279837f7b958764f03f3d9f60389d9
Author: Duncan Coutts <[email protected]>
Date:   Sat Dec 19 03:44:51 2009 +0000

    Reorder commands in cabal --help output

>---------------------------------------------------------------

 cabal-install/Distribution/Client/Setup.hs |    2 +-
 cabal-install/Main.hs                      |   10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/cabal-install/Distribution/Client/Setup.hs 
b/cabal-install/Distribution/Client/Setup.hs
index 83d0385..cd2b435 100644
--- a/cabal-install/Distribution/Client/Setup.hs
+++ b/cabal-install/Distribution/Client/Setup.hs
@@ -266,7 +266,7 @@ instance Monoid ConfigExFlags where
 fetchCommand :: CommandUI (Flag Verbosity)
 fetchCommand = CommandUI {
     commandName         = "fetch",
-    commandSynopsis     = "Downloads packages for later installation or 
study.",
+    commandSynopsis     = "Downloads packages for later installation.",
     commandDescription  = Nothing,
     commandUsage        = usagePackages "fetch",
     commandDefaultFlags = toFlag normal,
diff --git a/cabal-install/Main.hs b/cabal-install/Main.hs
index 29e7efa..9736b9a 100644
--- a/cabal-install/Main.hs
+++ b/cabal-install/Main.hs
@@ -123,19 +123,19 @@ mainWorker args = topHandler $
                                   ++ " of the Cabal library "
 
     commands =
-      [configureExCommand     `commandAddAction` configureAction
-      ,installCommand         `commandAddAction` installAction
+      [installCommand         `commandAddAction` installAction
+      ,updateCommand          `commandAddAction` updateAction
       ,listCommand            `commandAddAction` listAction
       ,infoCommand            `commandAddAction` infoAction
-      ,updateCommand          `commandAddAction` updateAction
       ,upgradeCommand         `commandAddAction` upgradeAction
       ,fetchCommand           `commandAddAction` fetchAction
-      ,uploadCommand          `commandAddAction` uploadAction
+      ,unpackCommand          `commandAddAction` unpackAction
       ,checkCommand           `commandAddAction` checkAction
       ,sdistCommand           `commandAddAction` sdistAction
+      ,uploadCommand          `commandAddAction` uploadAction
       ,reportCommand          `commandAddAction` reportAction
-      ,unpackCommand          `commandAddAction` unpackAction
       ,initCommand            `commandAddAction` initAction
+      ,configureExCommand     `commandAddAction` configureAction
       ,wrapperAction (buildCommand defaultProgramConfiguration)
                      buildVerbosity    buildDistPref
       ,wrapperAction copyCommand



_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to