aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/MediaBag.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-08-16 09:45:12 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-08-16 09:45:12 -0700
commit61cf3affa98f8331a2f2d55eedf56fc2a2a529e2 (patch)
tree40310ec042502fb98f14bfc2d79b3bf787be48a6 /src/Text/Pandoc/MediaBag.hs
parent7a40f4865fb635ff4e126697895da956300e7e35 (diff)
downloadpandoc-61cf3affa98f8331a2f2d55eedf56fc2a2a529e2.tar.gz
Change behavior with binary format output to stdout.
Previously, for binary formats, output to stdout was disabled unless we could detect that the output was being piped (and not sent to the terminal). Unfortunately, such detection is not possible on Windows, leaving windows users no way to pipe binary output. So we have changed the behavior in the following way: * If the -o option is not used, binary output is never sent to stdout by default; instead, an error is raised. * IF '-o -' is used, binary output is sent to stdout, regardless of whether it is being piped. This works on Windows too.
Diffstat (limited to 'src/Text/Pandoc/MediaBag.hs')
0 files changed, 0 insertions, 0 deletions