diff --git a/cabal-install/cabal-install.cabal b/cabal-install/cabal-install.cabal index e45dc58a408..a936f824631 100644 --- a/cabal-install/cabal-install.cabal +++ b/cabal-install/cabal-install.cabal @@ -90,7 +90,6 @@ library Distribution.Client.CmdInstall.ClientInstallTargetSelector Distribution.Client.CmdLegacy Distribution.Client.CmdListBin - Distribution.Client.CmdOutdated Distribution.Client.CmdRepl Distribution.Client.CmdRun Distribution.Client.CmdSdist @@ -146,6 +145,7 @@ library Distribution.Client.ManpageFlags Distribution.Client.Nix Distribution.Client.NixStyleOptions + Distribution.Client.Outdated Distribution.Client.PackageHash Distribution.Client.ParseUtils Distribution.Client.ProjectBuilding diff --git a/cabal-install/src/Distribution/Client/Main.hs b/cabal-install/src/Distribution/Client/Main.hs index c7772434060..0a751a3d812 100644 --- a/cabal-install/src/Distribution/Client/Main.hs +++ b/cabal-install/src/Distribution/Client/Main.hs @@ -127,12 +127,12 @@ import qualified Distribution.Client.CmdHaddockProject as CmdHaddockProject import qualified Distribution.Client.CmdInstall as CmdInstall import Distribution.Client.CmdLegacy import qualified Distribution.Client.CmdListBin as CmdListBin -import qualified Distribution.Client.CmdOutdated as CmdOutdated import qualified Distribution.Client.CmdRepl as CmdRepl import qualified Distribution.Client.CmdRun as CmdRun import qualified Distribution.Client.CmdSdist as CmdSdist import qualified Distribution.Client.CmdTest as CmdTest import qualified Distribution.Client.CmdUpdate as CmdUpdate +import qualified Distribution.Client.Outdated as Outdated import Distribution.Client.Check as Check (check) import Distribution.Client.Configure (configure, writeConfigFlags) @@ -396,7 +396,7 @@ mainWorker args = do , regularCmd initCommand initAction , regularCmd userConfigCommand userConfigAction , regularCmd genBoundsCommand genBoundsAction - , regularCmd CmdOutdated.outdatedCommand CmdOutdated.outdatedAction + , regularCmd Outdated.outdatedCommand Outdated.outdatedAction , wrapperCmd hscolourCommand hscolourVerbosity hscolourDistPref , hiddenCmd formatCommand formatAction , hiddenCmd actAsSetupCommand actAsSetupAction diff --git a/cabal-install/src/Distribution/Client/CmdOutdated.hs b/cabal-install/src/Distribution/Client/Outdated.hs similarity index 99% rename from cabal-install/src/Distribution/Client/CmdOutdated.hs rename to cabal-install/src/Distribution/Client/Outdated.hs index 7093ee7a0bf..49b264c4969 100644 --- a/cabal-install/src/Distribution/Client/CmdOutdated.hs +++ b/cabal-install/src/Distribution/Client/Outdated.hs @@ -13,7 +13,7 @@ -- -- Implementation of the 'outdated' command. Checks for outdated -- dependencies in the package description file or freeze file. -module Distribution.Client.CmdOutdated +module Distribution.Client.Outdated ( outdatedCommand , outdatedAction , ListOutdatedSettings (..)