repo.or.cz
/
cabal.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add “Ignore warning” option to cabal check
[cabal.git]
/
cabal-testsuite
/
PackageTests
/
NewBuild
/
CmdBench
/
OptionsFlag
/
OptionsFlag.hs
blob
bbb67dcf14a8206d6a2bc338765b544095163705
1
module
Main
where
2
3
import
System
.
Environment
(
getArgs
)
4
import
System
.
Exit
(
exitFailure
,
exitSuccess
)
5
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