summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/App.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-10-27 21:26:16 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-10-27 21:26:16 -0700
commitf3e901c29d9a1ca82a1b35ea13df4e673e753443 (patch)
treed2bf3fd1861cf1abe4282ba73b1ee6673fc9aa86 /src/Text/Pandoc/App.hs
parentbe7a29e9b95bb8ffa77c3ffeb49e7cf6ba164ed4 (diff)
hlint suggestions.
Diffstat (limited to 'src/Text/Pandoc/App.hs')
-rw-r--r--src/Text/Pandoc/App.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/App.hs b/src/Text/Pandoc/App.hs
index e965771b7..a80c6ac44 100644
--- a/src/Text/Pandoc/App.hs
+++ b/src/Text/Pandoc/App.hs
@@ -113,7 +113,7 @@ parseOptions options' defaults = do
getOpt' Permute options' rawArgs
let unknownOptionErrors =
- foldr (handleUnrecognizedOption . (takeWhile (/= '='))) []
+ foldr (handleUnrecognizedOption . takeWhile (/= '=')) []
unrecognizedOpts
unless (null errors && null unknownOptionErrors) $