diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2013-02-07 19:58:28 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2013-02-07 20:06:30 -0800 |
commit | ec5dc431def8fd7aa43dab1f59fb20dcd2933d16 (patch) | |
tree | b4513668042197f56530910f01a8ba393e1ffac6 | |
parent | 7f4e1075be9ab08e71f357515a8240316ddc39e9 (diff) |
Changes to --version.
Print default user data directory.
Put language names in lowercase and omit 'alert' and 'alert_indent'.
-rw-r--r-- | README | 6 | ||||
-rw-r--r-- | pandoc.hs | 2 |
2 files changed, 5 insertions, 3 deletions
@@ -188,7 +188,7 @@ General options `--data-dir=`*DIRECTORY* : Specify the user data directory to search for pandoc data files. If this option is not specified, the default user data directory - will be used: + will be used. This is $HOME/.pandoc @@ -200,7 +200,9 @@ General options C:\Users\USERNAME\AppData\Roaming\pandoc - in Windows 7. A `reference.odt`, `reference.docx`, `default.csl`, + in Windows 7. (You can find the default user data directory + on your system by looking at the output of `pandoc --version`.) + A `reference.odt`, `reference.docx`, `default.csl`, `epub.css`, `templates`, `slidy`, `slideous`, or `s5` directory placed in this directory will override pandoc's normal defaults. @@ -707,7 +707,7 @@ options = prg <- getProgName defaultDatadir <- getAppUserDataDirectory "pandoc" UTF8.hPutStrLn stdout (prg ++ " " ++ pandocVersion ++ - compileInfo ++ "\nDefault data directory: " ++ + compileInfo ++ "\nDefault user data directory: " ++ defaultDatadir ++ copyrightMessage) exitWith ExitSuccess )) "" -- "Print version" |