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
Un-ignore .bat files
[cabal.git]
/
cabal-testsuite
/
PackageTests
/
TestOptions
/
test-TestOptions.hs
blob
7c21bff136c0f76d85739b0e694b391fccdc1930
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"
]
10
then
exitSuccess
11
else
putStrLn
(
"Got: "
++
show
args
) >>
exitFailure