diff options
| author | Albert Krewinkel <[email protected]> | 2022-09-29 09:45:14 +0200 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2022-09-30 08:33:40 -0700 |
| commit | ddaadc88bc7e09fdff35fcf100a0f9fbe5d17728 (patch) | |
| tree | bbddc6be332d8edcd5d78743b7ca259253bc07a3 /src/Text/Pandoc/App/CommandLineOptions.hs | |
| parent | e099de1d4d2f4ca865596a6608774c7c0940a0d9 (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.hs | 2 |
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) |
