summaryrefslogtreecommitdiff
path: root/pandoc-server/src/Text
diff options
context:
space:
mode:
Diffstat (limited to 'pandoc-server/src/Text')
-rw-r--r--pandoc-server/src/Text/Pandoc/Server.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/pandoc-server/src/Text/Pandoc/Server.hs b/pandoc-server/src/Text/Pandoc/Server.hs
index 0aea753a4..940606deb 100644
--- a/pandoc-server/src/Text/Pandoc/Server.hs
+++ b/pandoc-server/src/Text/Pandoc/Server.hs
@@ -85,7 +85,7 @@ cliOptions =
, Option ['v'] ["version"]
(NoArg (\_ -> do
prg <- getProgName
- putStrLn $ prg <> " " <> T.unpack pandocVersion
+ putStrLn $ prg <> " " <> T.unpack pandocVersionText
exitWith ExitSuccess))
"version info"
@@ -208,7 +208,7 @@ server = convertBytes
:<|> convertJSON
:<|> mapM convertJSON
:<|> babelmark -- for babelmark which expects {"html": "", "version": ""}
- :<|> pure pandocVersion
+ :<|> pure pandocVersionText
where
babelmark text' from' to' standalone' = do
res <- convertText def{