From 3d7eb129bd7f7bdbcdd46e93913208065f106cb2 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Tue, 22 Feb 2022 14:00:15 -0800
Subject: [PATCH] `--version`: print hslua version.

This will help us determine which version of Lua pandoc
is compiled against. See #7929.
---
 src/Text/Pandoc/App/CommandLineOptions.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Text/Pandoc/App/CommandLineOptions.hs b/src/Text/Pandoc/App/CommandLineOptions.hs
index 19b807205..27374a81f 100644
--- a/src/Text/Pandoc/App/CommandLineOptions.hs
+++ b/src/Text/Pandoc/App/CommandLineOptions.hs
@@ -989,7 +989,7 @@ compileInfo =
   "\nCompiled with pandoc-types " ++ VERSION_pandoc_types ++
   ", texmath " ++ VERSION_texmath ++ ", skylighting " ++
   VERSION_skylighting ++ ",\nciteproc " ++ VERSION_citeproc ++
-  ", ipynb " ++ VERSION_ipynb
+  ", ipynb " ++ VERSION_ipynb ++ ", hslua " ++ VERSION_hslua
 
 handleUnrecognizedOption :: String -> [String] -> [String]
 handleUnrecognizedOption "--smart" =