Skip to content

Commit

Permalink
synchronize spacing of footnotes in help output
Browse files Browse the repository at this point in the history
- remove a space between `[` and `*` in the list of input formats, to match the list of output formats
- add space after the `*`s, for improved readability
  • Loading branch information
waldyrious committed Aug 16, 2016
1 parent 3a44ee6 commit 35e1d6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pandoc.hs
Original file line number Diff line number Diff line change
Expand Up @@ -939,10 +939,10 @@ usageMessage programName = usageInfo
(programName ++ " [OPTIONS] [FILES]" ++ "\nInput formats: " ++
wrapWords 16 78 readers'names ++
'\n' : replicate 16 ' ' ++
"[ *only Pandoc's JSON version of native AST]" ++ "\nOutput formats: " ++
"[* only Pandoc's JSON version of native AST]" ++ "\nOutput formats: " ++
wrapWords 16 78 writers'names ++
'\n' : replicate 16 ' ' ++
"[**for pdf output, use latex or beamer and -o FILENAME.pdf]\nOptions:")
"[** for pdf output, use latex or beamer and -o FILENAME.pdf]\nOptions:")
where
writers'names = sort $ "json*" : "pdf**" : delete "json" (map fst writers)
readers'names = sort $ "json*" : delete "json" (map fst readers)
Expand Down

0 comments on commit 35e1d6d

Please sign in to comment.