diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2013-04-26 21:13:07 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2013-04-26 21:13:42 -0700 |
commit | 4edc97a921d011489375eac62519fe3fc24f7609 (patch) | |
tree | beb310a626032c7efbb99687aa4bc1a832ae7579 | |
parent | 26fefa040a7046bbe00e3caf2597f33e65af5986 (diff) | |
download | pandoc-4edc97a921d011489375eac62519fe3fc24f7609.tar.gz |
pandoc `--help` now says something about pdf output.
Closes #720.
-rw-r--r-- | pandoc.hs | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -747,9 +747,11 @@ usageMessage :: String -> [OptDescr (Opt -> IO Opt)] -> String usageMessage programName = usageInfo (programName ++ " [OPTIONS] [FILES]" ++ "\nInput formats: " ++ (wrapWords 16 78 $ readers'names) ++ "\nOutput formats: " ++ - (wrapWords 16 78 $ writers'names) ++ "\nOptions:") + (wrapWords 16 78 $ writers'names) ++ + '\n' : replicate 16 ' ' ++ + "[*for pdf output, use latex or beamer and -o FILENAME.pdf]\nOptions:") where - writers'names = sort $ map fst writers + writers'names = sort $ "pdf*" : map fst writers readers'names = sort $ map fst readers -- Determine default reader based on source file extensions |