diff --git a/CabalGHCI.hs b/CabalGHCI.hs
--- a/CabalGHCI.hs
+++ b/CabalGHCI.hs
@@ -5,9 +5,17 @@
 import System.Environment
 import System.Process
 
+opt0 opt args = f [] args
+     where f r (x:xs)
+             | x == ("--cabal-ghci-" ++ opt) = (reverse r ++ xs, True)
+             | otherwise = f (x:r) xs
+           f _ _ = (args, False)
+
 main = do
   args ← getArgs
-  withOpts args putStrLn $ 
-        \opts → do
+  let (args', pretend) = opt0 "print-ghci-args" args
+  withOpts args' putStrLn $
+    if pretend then mapM_ putStrLn
+    else \opts → do
           putStrLn $ "Executing ghci with the following options: " ++ unwords opts
           rawSystem "ghci" opts >> return ()
diff --git a/cabal-ghci.cabal b/cabal-ghci.cabal
--- a/cabal-ghci.cabal
+++ b/cabal-ghci.cabal
@@ -1,5 +1,5 @@
 Name:                cabal-ghci
-Version:             0.2.0
+Version:             0.2.1
 Synopsis:            Set up ghci with options taken from a .cabal file
 Description: The executable cabal-ghci runs ghci with the paths and extensions needed by a cabal project. The cabalSet function can be added to your .ghci to provide the same functionality at runtime, giving you more control over the options that are set.
 Homepage:            http://code.atnnn.com/projects/cabal-ghci/wiki
