Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal On branch : master
http://hackage.haskell.org/trac/ghc/changeset/2f92e540fcaccb74e7d58daa6e4079d31d0ae056 >--------------------------------------------------------------- commit 2f92e540fcaccb74e7d58daa6e4079d31d0ae056 Author: Duncan Coutts <[email protected]> Date: Sun Feb 13 17:19:56 2011 +0000 Change position of --only-dependencies in --help listing Move it next to the --upgrade-dependencies flag >--------------------------------------------------------------- cabal-install/Distribution/Client/Setup.hs | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/cabal-install/Distribution/Client/Setup.hs b/cabal-install/Distribution/Client/Setup.hs index d7afcf2..dd4093d 100644 --- a/cabal-install/Distribution/Client/Setup.hs +++ b/cabal-install/Distribution/Client/Setup.hs @@ -603,6 +603,13 @@ installOptions showOrParseArgs = installUpgradeDeps (\v flags -> flags { installUpgradeDeps = v }) trueArg + + , option [] ["only-dependencies"] + "Install only the dependencies necessary to build the given packages" + installOnlyDeps (\v flags -> flags { installOnlyDeps = v }) + trueArg + + , option [] ["root-cmd"] "Command used to gain root privileges, when installing with --global." installRootCmd (\v flags -> flags { installRootCmd = v }) @@ -636,12 +643,6 @@ installOptions showOrParseArgs = "Do not record the packages in the world file." installOneShot (\v flags -> flags { installOneShot = v }) trueArg - - , option [] ["only-dependencies"] - "Install only the dependencies necessary to build the listed packages" - installOnlyDeps (\v flags -> flags { installOnlyDeps = v }) - trueArg - ] ++ case showOrParseArgs of -- TODO: remove when "cabal install" avoids ParseArgs -> option [] ["only"] _______________________________________________ Cvs-libraries mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-libraries
