Add “Ignore warning” option to cabal check
[cabal.git] / cabal-testsuite / PackageTests / NewBuild / CmdBench / OptionsFlag / OptionsFlag.hs
blobbbb67dcf14a8206d6a2bc338765b544095163705
1 module Main where
3 import System.Environment (getArgs)
4 import System.Exit (exitFailure, exitSuccess)
6 main :: IO ()
7 main = do
8 args <- getArgs
9 if args == ["1", "2 3", "4", "5 6"]
10 then exitSuccess
11 else putStrLn ("Got: " ++ show args) >> exitFailure