projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 2000-04-10 14:28:14 by sewardj]
[ghc-hetmet.git]
/
ghc
/
lib
/
std
/
System.lhs
diff --git
a/ghc/lib/std/System.lhs
b/ghc/lib/std/System.lhs
index
63bfb40
..
0404492
100644
(file)
--- a/
ghc/lib/std/System.lhs
+++ b/
ghc/lib/std/System.lhs
@@
-210,7
+210,7
@@
data ExitCode = ExitSuccess | ExitFailure Int
getArgs :: IO [String]
getArgs = primGetRawArgs >>= \rawargs ->
- return (drop 1 (dropWhile (/= "--") rawargs))
+ return (tail rawargs)
getProgName :: IO String
getProgName = primGetRawArgs >>= \rawargs ->