git.iko.soy/typeable/pandoc
on master help sign in
Changes to --version.

Print default user data directory. Put language names in lowercase and omit 'alert' and 'alert_indent'.

commitec5dc431def8fd7aa43dab1f59fb20dcd2933d16 authorJohn MacFarlane <fiddlosopher@gmail.com> dateThu 7 Feb 2013, 19:58 (14 years ago) parent7f4e107
2 files changed+5−3
README+4−2 pandoc.hs+1−1
README+4−2
@@ -188,7 +188,7 @@ General options
188188`--data-dir=`*DIRECTORY*
189189: Specify the user data directory to search for pandoc data files.
190190 If this option is not specified, the default user data directory
191− will be used:
191+ will be used. This is
192192
193193 $HOME/.pandoc
194194
@@ -200,7 +200,9 @@ General options
200200
201201 C:\Users\USERNAME\AppData\Roaming\pandoc
202202
203− in Windows 7. A `reference.odt`, `reference.docx`, `default.csl`,
203+ in Windows 7. (You can find the default user data directory
204+ on your system by looking at the output of `pandoc --version`.)
205+ A `reference.odt`, `reference.docx`, `default.csl`,
204206 `epub.css`, `templates`, `slidy`, `slideous`, or `s5` directory
205207 placed in this directory will override pandoc's normal defaults.
206208
pandoc.hs+1−1
@@ -707,7 +707,7 @@ options =
707707 prg <- getProgName
708708 defaultDatadir <- getAppUserDataDirectory "pandoc"
709709 UTF8.hPutStrLn stdout (prg ++ " " ++ pandocVersion ++
710− compileInfo ++ "\nDefault data directory: " ++
710+ compileInfo ++ "\nDefault user data directory: " ++
711711 defaultDatadir ++ copyrightMessage)
712712 exitWith ExitSuccess ))
713713 "" -- "Print version"