diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-11-01 09:03:40 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-11-01 09:03:40 -0700 |
commit | bf9e3faa3589e76e740bb272555c620975b97346 (patch) | |
tree | be62b1f10aabc29e08f479ae0c00b43b12bf02f9 /src/Text/Pandoc/Class.hs | |
parent | 4e902b1d601c57f19eb9b7e0a51a4420a45aea59 (diff) | |
download | pandoc-bf9e3faa3589e76e740bb272555c620975b97346.tar.gz |
`--defaults` improvements.
- ToYAML instance is now for `Opt -> Opt`, rather than `Opt`.
- This allows us to handle `--defaults` without clobbering all the
options that occur prior to `--defaults` on the command line.
(Note, however, that options in `--defaults` can replace these
options if the `--defaults` option is used after them,
which may be a bit confusing given the name.)
- `--defaults` may now be used multiple times on the command line,
allowing users to break defaults into different chunks.
Diffstat (limited to 'src/Text/Pandoc/Class.hs')
0 files changed, 0 insertions, 0 deletions