diff options
Diffstat (limited to 'pandoc.hs')
-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 |