aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/App/CommandLineOptions.hs
diff options
context:
space:
mode:
authorAlbert Krewinkel <[email protected]>2022-09-29 09:45:14 +0200
committerJohn MacFarlane <[email protected]>2022-09-30 08:33:40 -0700
commitddaadc88bc7e09fdff35fcf100a0f9fbe5d17728 (patch)
treebbddc6be332d8edcd5d78743b7ca259253bc07a3 /src/Text/Pandoc/App/CommandLineOptions.hs
parente099de1d4d2f4ca865596a6608774c7c0940a0d9 (diff)
[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.
Diffstat (limited to 'src/Text/Pandoc/App/CommandLineOptions.hs')
-rw-r--r--src/Text/Pandoc/App/CommandLineOptions.hs2
1 files changed, 1 insertions, 1 deletions
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)