[commit: ghc] master: Add `:show imports` to completion table (9b8b448)

Ian Lynagh igloo at ghc.haskell.org
Sun Jul 21 22:38:09 CEST 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/9b8b4483e2b643fff6733f4e238b8df0088ef476

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

commit 9b8b4483e2b643fff6733f4e238b8df0088ef476
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Tue Jul 9 14:55:36 2013 +0200

    Add `:show imports` to completion table

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

 ghc/InteractiveUI.hs |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ghc/InteractiveUI.hs b/ghc/InteractiveUI.hs
index 6277549..b754cfa 100644
--- a/ghc/InteractiveUI.hs
+++ b/ghc/InteractiveUI.hs
@@ -2422,7 +2422,7 @@ completeShowOptions = wrapCompleter flagWordBreakChars $ \w -> do
   return (filter (w `isPrefixOf`) opts)
     where opts = ["args", "prog", "prompt", "prompt2", "editor", "stop",
                      "modules", "bindings", "linker", "breaks",
-                     "context", "packages", "language"]
+                     "context", "packages", "language", "imports"]
 
 completeShowiOptions = wrapCompleter flagWordBreakChars $ \w -> do
   return (filter (w `isPrefixOf`) ["language"])






More information about the ghc-commits mailing list