]> gitweb @ CieloNegro.org - Rakka.git/blobdiff - Main.hs
Implemented the outline command
[Rakka.git] / Main.hs
diff --git a/Main.hs b/Main.hs
index 1b441ee2725d5b2678e1b944722746f371b9d837..44855689c7c26baefd9f2d55f73bbdc94a6040f6 100644 (file)
--- a/Main.hs
+++ b/Main.hs
@@ -7,6 +7,7 @@ import           Rakka.Environment
 import           Rakka.Resource.Index
 import           Rakka.Resource.Object
 import           Rakka.Resource.Render
+import           Subversion
 import           System.Console.GetOpt
 import           System.Directory
 import           System.Environment
@@ -69,7 +70,8 @@ printUsage = do putStrLn "Usage:"
 
 
 main :: IO ()
-main = do (opts, nonOpts, errors) <- return . getOpt Permute options =<< getArgs
+main = withSubversion $
+       do (opts, nonOpts, errors) <- return . getOpt Permute options =<< getArgs
 
           when (not $ null errors)
                    $ do mapM_ putStr errors