summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/App.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-06-01 14:14:42 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-06-01 14:14:42 +0200
commit00d8585d8f6cfafea536c59912f3de9d53ef3193 (patch)
tree548cc0f1b4e6ea59a5d0dabf0d301e39322e4fca /src/Text/Pandoc/App.hs
parentc366fab2cba3238a4d262fefdfe03d8acf813cf1 (diff)
Trivial renaming.
Diffstat (limited to 'src/Text/Pandoc/App.hs')
-rw-r--r--src/Text/Pandoc/App.hs16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Text/Pandoc/App.hs b/src/Text/Pandoc/App.hs
index 845146f34..d8409a00f 100644
--- a/src/Text/Pandoc/App.hs
+++ b/src/Text/Pandoc/App.hs
@@ -1423,8 +1423,8 @@ options =
map ("--" ++) longs
let allopts = unwords (concatMap optnames options)
UTF8.hPutStrLn stdout $ printf tpl allopts
- (unwords readers'names)
- (unwords writers'names)
+ (unwords readersNames)
+ (unwords writersNames)
(unwords $ map fst highlightingStyles)
ddir
exitSuccess ))
@@ -1433,14 +1433,14 @@ options =
, Option "" ["list-input-formats"]
(NoArg
(\_ -> do
- mapM_ (UTF8.hPutStrLn stdout) readers'names
+ mapM_ (UTF8.hPutStrLn stdout) readersNames
exitSuccess ))
""
, Option "" ["list-output-formats"]
(NoArg
(\_ -> do
- mapM_ (UTF8.hPutStrLn stdout) writers'names
+ mapM_ (UTF8.hPutStrLn stdout) writersNames
exitSuccess ))
""
@@ -1544,11 +1544,11 @@ uppercaseFirstLetter :: String -> String
uppercaseFirstLetter (c:cs) = toUpper c : cs
uppercaseFirstLetter [] = []
-readers'names :: [String]
-readers'names = sort (map fst (readers :: [(String, Reader PandocIO)]))
+readersNames :: [String]
+readersNames = sort (map fst (readers :: [(String, Reader PandocIO)]))
-writers'names :: [String]
-writers'names = sort (map fst (writers :: [(String, Writer PandocIO)]))
+writersNames :: [String]
+writersNames = sort (map fst (writers :: [(String, Writer PandocIO)]))
splitField :: String -> (String, String)
splitField s =