24 lines
1.2 KiB
Diff
24 lines
1.2 KiB
Diff
--- pandoc-2.19.2/src/Text/Pandoc/App/CommandLineOptions.hs~ 2001-09-09 09:46:40.000000000 +0800
|
|
+++ pandoc-2.19.2/src/Text/Pandoc/App/CommandLineOptions.hs 2023-03-13 20:14:12.911386007 +0800
|
|
@@ -969,14 +969,15 @@
|
|
(\_ -> do
|
|
prg <- getProgName
|
|
defaultDatadir <- defaultUserDataDir
|
|
- luaVersion <- HsLua.run @HsLua.Exception $ do
|
|
- openlibs
|
|
- getglobal "_VERSION"
|
|
- peek top
|
|
+ -- luaVersion <- HsLua.run @HsLua.Exception $ do
|
|
+ -- openlibs
|
|
+ -- getglobal "_VERSION"
|
|
+ -- peek top
|
|
UTF8.hPutStrLn stdout
|
|
$ T.pack
|
|
$ prg ++ " " ++ T.unpack pandocVersion ++ versionSuffix ++
|
|
- compileInfo ++ "\nScripting engine: " ++ luaVersion ++
|
|
+ compileInfo ++
|
|
+ -- "\nScripting engine: " ++ luaVersion ++
|
|
"\nUser data directory: " ++ defaultDatadir ++
|
|
('\n':copyrightMessage)
|
|
exitSuccess ))
|