diff options
| author | John MacFarlane <[email protected]> | 2023-07-18 07:58:14 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2023-07-18 07:58:14 -0700 |
| commit | c62705529a2cf45f0dd8a8f76e466ee41cf052c6 (patch) | |
| tree | d3862985c1a2b94d458bf25016869bfe7cc82827 /src/Text | |
| parent | ca0564084a05e6e96f58c5968528a2dd0cfde11b (diff) | |
Fix typo on error message for incorrect --preserve-tabs argument.
Thanks @fsoedjede
Diffstat (limited to 'src/Text')
| -rw-r--r-- | src/Text/Pandoc/App/CommandLineOptions.hs | 2 |
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" |
