From ddaadc88bc7e09fdff35fcf100a0f9fbe5d17728 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Thu, 29 Sep 2022 09:45:14 +0200 Subject: [API Change] Rename `pandocVersion` to `pandocVersionText`... and add a new `pandocVersion` value with type `Version`. This is consistent with the type used for `pandocTypesVersion` and allows to use the value where a Version type is required. --- src/Text/Pandoc/App/CommandLineOptions.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc/App') diff --git a/src/Text/Pandoc/App/CommandLineOptions.hs b/src/Text/Pandoc/App/CommandLineOptions.hs index 1a760d970..8d5677b82 100644 --- a/src/Text/Pandoc/App/CommandLineOptions.hs +++ b/src/Text/Pandoc/App/CommandLineOptions.hs @@ -966,7 +966,7 @@ options = peek top UTF8.hPutStrLn stdout $ T.pack - $ prg ++ " " ++ T.unpack pandocVersion ++ versionSuffix ++ + $ prg ++ " " ++ T.unpack pandocVersionText ++ versionSuffix ++ compileInfo ++ "\nScripting engine: " ++ luaVersion ++ "\nUser data directory: " ++ defaultDatadir ++ ('\n':copyrightMessage) -- cgit v1.2.3