diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-01-08 08:11:08 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-01-08 08:11:08 +0000 |
commit | 5dda65b5dc9213f74f7d33777e002fae903d1cd1 (patch) | |
tree | 25de8416fc5755a235b428eb8aaf2e023121d5af /debian/changelog | |
parent | d47ce5b1f444c9754bfe78733c5658616263522a (diff) | |
download | pandoc-5dda65b5dc9213f74f7d33777e002fae903d1cd1.tar.gz |
Changes to Pandoc's options to facilitate wrapper scripts:
+ removed -d/--debug option
+ added --dump-args option, which prints the name of the output file
(or '-' for STDOUT) and all the command-line arguments (excluding
Pandoc options and their arguments), one per line, then exits. Note
that special wrapper options will be treated as arguments if they
follow '--' at the end of the command line. Thus,
pandoc --dump-args -o foo.html foo.txt -- -e latin1
will print the following to STDOUT:
foo.html
foo.txt
-e
latin1
+ added --ignore-args option, which causes Pandoc to ignore all
(non-option) arguments, including any special options that occur
after '--' at the end of the command line.
+ '-' now means STDIN as the name of an input file, STDOUT as the
name of an output file. So,
pandoc -o - -
will take input from STDIN and print output to STDOUT. Note that
if multiple '-o' options are specified on the same line, the last
one takes precedence. So, in a script,
pandoc "$@" -o -
will guarantee output to STDOUT, even if the '-o' option was used.
+ documented these changes in man pages, README, and changelog.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@454 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'debian/changelog')
-rw-r--r-- | debian/changelog | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/debian/changelog b/debian/changelog index 682b2e54a..a06c40579 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,12 +8,7 @@ pandoc (0.3) unstable; urgency=low + Added '--strict' option for maximum compatibility with official Markdown syntax. + Added '-o/--output' option to send output to a file. - + Added '-d/--debug' option: - - Prints OUTPUT= followed by output filename (or blank) to stderr. - - Prints INPUT= followed by input filename to stderr, for each - input file (if any). - - Sends output to STDOUT, even if output file was specified. - - This is intended mainly to make it easier to write wrappers. + + Added '--dump-args' and '--ignore-args' options (for use in wrappers). + Modified '-v' and '-h' output to go to STDERR, not STDOUT, and return error condition (2). This is helpful for writing wrappers. + Reformatted usage message so that it doesn't wrap illegibly. |