From c62705529a2cf45f0dd8a8f76e466ee41cf052c6 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 18 Jul 2023 07:58:14 -0700 Subject: Fix typo on error message for incorrect --preserve-tabs argument. Thanks @fsoedjede --- src/Text/Pandoc/App/CommandLineOptions.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text') diff --git a/src/Text/Pandoc/App/CommandLineOptions.hs b/src/Text/Pandoc/App/CommandLineOptions.hs index 901e24a34..a4374478f 100644 --- a/src/Text/Pandoc/App/CommandLineOptions.hs +++ b/src/Text/Pandoc/App/CommandLineOptions.hs @@ -503,7 +503,7 @@ options = , Option "p" ["preserve-tabs"] (OptArg (\arg opt -> do - boolValue <- readBoolFromOptArg "--preserve-tables/-p" arg + boolValue <- readBoolFromOptArg "--preserve-tabs/-p" arg return opt { optPreserveTabs = boolValue }) "true|false") "" -- "Preserve tabs instead of converting to spaces" -- cgit v1.2.3