aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pandoc.hs6
1 files changed, 4 insertions, 2 deletions
diff --git a/pandoc.hs b/pandoc.hs
index 1836fe345..29a4fb213 100644
--- a/pandoc.hs
+++ b/pandoc.hs
@@ -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