aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-01-29 10:53:45 -0800
committerJohn MacFarlane <[email protected]>2023-01-29 10:53:45 -0800
commit845894592af4fc233be1dc3f52c60647da1b489d (patch)
tree1fb0e60dbc58947d9a029d9c2672213941e6605a /src
parent5f31a01d77f5fea46e2deca51165d5af8fc99677 (diff)
Fix 3.0 regression with `--print-highlight-style` option.
Closes #8586.
Diffstat (limited to 'src')
-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 b54279e02..3e8b832d2 100644
--- a/src/Text/Pandoc/App/CommandLineOptions.hs
+++ b/src/Text/Pandoc/App/CommandLineOptions.hs
@@ -979,7 +979,7 @@ options =
, Option "" ["print-highlight-style"]
(ReqArg
(\arg opts ->
- optInfo $ PrintDefaultDataFile (optOutputFile opts)
+ optInfo $ PrintHighlightStyle (optOutputFile opts)
(T.pack arg))
"STYLE|FILE")
"" -- "Print default template for FORMAT"