summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Kolmodin <kolmodin@google.com>2014-12-19 09:35:21 -0600
committerAustin Seipp <austin@well-typed.com>2014-12-19 09:35:41 -0600
commitdd52a54279005c3a994114950e378c884e1fee02 (patch)
treeeea4df5b0c8c5164e66f3757a828672332df4ca9
parentba53ab574bbbba69a2cc5c773ce51bdbc0ad1b48 (diff)
downloadhaskell-dd52a54279005c3a994114950e378c884e1fee02.tar.gz
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
-rw-r--r--ghc/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/Main.hs b/ghc/Main.hs
index d8be08adc1..b633d065cf 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