summaryrefslogtreecommitdiff
path: root/ghc/Main.hs
diff options
context:
space:
mode:
authorJan Stolarek <jan.stolarek@p.lodz.pl>2013-06-07 09:15:32 +0200
committerIan Lynagh <ian@well-typed.com>2013-06-13 20:49:37 +0100
commit2280f9651ea4f08d8d7c29affbb134d6769e42e0 (patch)
tree20a0760afa6b410b0474992249eebc9098347b5f /ghc/Main.hs
parenta532f40f8575eaa384ed569d7584165503f6e9d4 (diff)
downloadhaskell-2280f9651ea4f08d8d7c29affbb134d6769e42e0.tar.gz
--show-options lists all flags. Add user documentation for #7843
Diffstat (limited to 'ghc/Main.hs')
-rw-r--r--ghc/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/Main.hs b/ghc/Main.hs
index 52a90d07e7..5af51bba46 100644
--- a/ghc/Main.hs
+++ b/ghc/Main.hs
@@ -700,7 +700,7 @@ showVersion = putStrLn (cProjectName ++ ", version " ++ cProjectVersion)
showOptions :: IO ()
showOptions = putStr (unlines availableOptions)
where
- availableOptions = map ((:) '-') . filter ((>2) . length) $
+ availableOptions = map ((:) '-') $
getFlagNames mode_flags ++
getFlagNames flagsDynamic ++
(filterUnwantedStatic . getFlagNames $ flagsStatic) ++