aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-07-18 07:58:14 -0700
committerJohn MacFarlane <[email protected]>2023-07-18 07:58:14 -0700
commitc62705529a2cf45f0dd8a8f76e466ee41cf052c6 (patch)
treed3862985c1a2b94d458bf25016869bfe7cc82827 /src
parentca0564084a05e6e96f58c5968528a2dd0cfde11b (diff)
Fix typo on error message for incorrect --preserve-tabs argument.
Thanks @fsoedjede
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 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"