diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-07-24 22:54:48 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-07-31 16:32:55 +0200 |
commit | bb96499b613265b3d9cf2146af09283a4b99ef13 (patch) | |
tree | ecf2ae2ac567a9df00729886bb8e3777348e8d5a /libqpdf/qpdf/auto_job_help.hh | |
parent | 0e3d4cdc9753ae59d42ff8478b0769196899032b (diff) | |
download | qpdf-bb96499b613265b3d9cf2146af09283a4b99ef13.tar.zst |
Update docs and prepare QPDF::writeJSON for changes
Add additional parameters that will be needed to call QPDF::writeJSON
in partial mode.
Diffstat (limited to 'libqpdf/qpdf/auto_job_help.hh')
-rw-r--r-- | libqpdf/qpdf/auto_job_help.hh | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/libqpdf/qpdf/auto_job_help.hh b/libqpdf/qpdf/auto_job_help.hh index 5146ddae..6ade99f5 100644 --- a/libqpdf/qpdf/auto_job_help.hh +++ b/libqpdf/qpdf/auto_job_help.hh @@ -821,16 +821,18 @@ objects will be shown. )"); ap.addOptionHelp("--json-stream-data", "json", "how to handle streams in json output", R"(--json-stream-data={none|inline|file} -When used with --json-output, this option controls whether -streams in json output should be omitted, written inline -(base64-encoded) or written to a file. If "file" is chosen, the -file will be the name of the output file appended with -nnn where -nnn is the object number. The prefix can be overridden with ---json-stream-prefix. +When used with --json, this option controls whether streams in +json output should be omitted, written inline (base64-encoded) +or written to a file. If "file" is chosen, the file will be the +name of the output file appended with -nnn where nnn is the +object number. The prefix can be overridden with +--json-stream-prefix. The default is "none", except +when --json-output is specified, in which case the default is +"inline". )"); ap.addOptionHelp("--json-stream-prefix", "json", "prefix for json stream data files", R"(--json-stream-prefix=file-prefix -When used with --json-output, --json-stream-data=file-prefix +When used with --json-stream-data=file, --json-stream-data=file-prefix sets the prefix for stream data files, overriding the default, which is to use the output file name. Whatever is given here will be appended with -nnn to create the name of the file that |