git.iko.soy/typeable/pandoc
on master help sign in
Changed misleading documentation on markdown2pdf.

markdown2pdf used to create a backup file if the output file exists; it doesn't any longer, but the documentation still said it does.

commit14620579c0467157a641613275a11379b34c9534 authorJohn MacFarlane <jgm@berkeley.edu> dateThu 10 Nov 2011, 15:37 (15 years ago) parentfc3826e
2 files changed+2−3
README+1−2 src/markdown2pdf.hs+1−1
README+1−2
@@ -102,8 +102,7 @@ for example,
102102
103103 markdown2pdf sample.txt endnotes.txt
104104
105−will produce `sample.pdf`. (If `sample.pdf` exists already,
106−it will be backed up before being overwritten.) An output file
105+will produce `sample.pdf`. An output file
107106name can be specified explicitly using the `-o` option:
108107
109108 markdown2pdf -o book.pdf chap1 chap2
src/markdown2pdf.hs+1−1
@@ -257,7 +257,7 @@ main = withTempDir "pandoc"
257257 case latexRes of
258258 Left err -> exit err
259259 Right pdfFile -> do
260− -- save the output creating a backup if necessary
260+ -- save the output
261261 saveOutput pdfFile $
262262 replaceDirectory pdfFile (takeDirectory output)
263263