[commit: ghc] ghc-7.8: Add package flags to --show-options output (dd52a54)

git at git.haskell.org git at git.haskell.org
Fri Dec 19 15:44:02 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-7.8
Link       : http://ghc.haskell.org/trac/ghc/changeset/dd52a54279005c3a994114950e378c884e1fee02/ghc

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

commit dd52a54279005c3a994114950e378c884e1fee02
Author: Lennart Kolmodin <kolmodin at google.com>
Date:   Fri Dec 19 09:35:21 2014 -0600

    Add package flags to --show-options output
    
    Summary: --show-options will now include the package flags.
    
    Test Plan: Pass --show-options to ghc, it should include -package-id.
    
    Reviewers: austin, jstolarek
    
    Subscribers: carter, thomie
    
    Differential Revision: https://phabricator.haskell.org/D554
    
    GHC Trac Issues: #9860


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

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

diff --git a/ghc/Main.hs b/ghc/Main.hs
index d8be08a..b633d06 100644
--- a/ghc/Main.hs
+++ b/ghc/Main.hs
@@ -704,7 +704,7 @@ showOptions = putStr (unlines availableOptions)
     where
       availableOptions     = map ((:) '-') $
                              getFlagNames mode_flags   ++
-                             getFlagNames flagsDynamic ++
+                             getFlagNames flagsAll ++
                              (filterUnwantedStatic . getFlagNames $ flagsStatic) ++
                              flagsStaticNames
       getFlagNames opts         = map getFlagName opts



More information about the ghc-commits mailing list