aboutsummaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Main.hs b/src/Main.hs
index b3171c2b4..ae9f61f7f 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -42,9 +42,6 @@ import Data.List ( isPrefixOf )
import Data.Char ( toLower )
import Control.Monad ( (>>=) )
-version :: String
-version = "0.45"
-
copyrightMessage :: String
copyrightMessage = "\nCopyright (C) 2006-7 John MacFarlane\n\
\Web: http://johnmacfarlane.net/pandoc\n\
@@ -298,7 +295,7 @@ options =
(NoArg
(\_ -> do
prg <- getProgName
- hPutStrLn stderr (prg ++ " " ++ version ++
+ hPutStrLn stderr (prg ++ " " ++ pandocVersion ++
copyrightMessage)
exitWith $ ExitFailure 4))
"" -- "Print version"