From 845894592af4fc233be1dc3f52c60647da1b489d Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 29 Jan 2023 10:53:45 -0800 Subject: Fix 3.0 regression with `--print-highlight-style` option. Closes #8586. --- src/Text/Pandoc/App/CommandLineOptions.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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" -- cgit v1.2.3