From a655942bdbfb4e5e0f4eba1bf23d400f5e2a617a Mon Sep 17 00:00:00 2001 From: Alexis Williams Date: Wed, 6 Jun 2018 13:24:45 -0700 Subject: [PATCH] Add unlisted commands to our known cabal-install commands --- cabal-install/Distribution/Client/Setup.hs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cabal-install/Distribution/Client/Setup.hs b/cabal-install/Distribution/Client/Setup.hs index 2377f6d92..4c56fb0c3 100644 --- a/cabal-install/Distribution/Client/Setup.hs +++ b/cabal-install/Distribution/Client/Setup.hs @@ -189,6 +189,9 @@ globalCommand commands = CommandUI { , "new-test" , "new-bench" , "new-haddock" + , "new-exec" + , "new-update" + , "new-install" ] maxlen = maximum $ [length name | (name, _) <- cmdDescs] align str = str ++ replicate (maxlen - length str) ' ' @@ -256,6 +259,9 @@ globalCommand commands = CommandUI { , addCmd "new-bench" , addCmd "new-freeze" , addCmd "new-haddock" + , addCmd "new-exec" + , addCmd "new-update" + , addCmd "new-install" ] ++ if null otherCmds then [] else par :startGroup "other" :[addCmd n | n <- otherCmds]) -- GitLab