ghc-mod/Flag.hs
2012-02-14 16:09:53 +09:00

13 lines
335 B
Haskell

{-# LANGUAGE CPP #-}
module Flag where
import Types
import qualified Gap
listFlags :: Options -> IO String
listFlags opt = return $ convert opt [ "-f" ++ prefix ++ option
| option <- Gap.fOptions
, prefix <- ["","no-"]
]