diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-07-31 16:34:05 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-07-31 22:23:17 +0200 |
commit | 5f4224f31a500452a4f97f36ed57351b41ca0114 (patch) | |
tree | be355db5a4fcc8334410baf76c7eb1330578faa8 /include | |
parent | 80acfc3826704064db8cc2f6af0c338b3aa557e7 (diff) | |
download | qpdf-5f4224f31a500452a4f97f36ed57351b41ca0114.tar.zst |
Simplify --json-output
Now --json-output just changes defaults. Allow output file with --json.
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDF.hh | 2 | ||||
-rw-r--r-- | include/qpdf/QPDFJob.hh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh index f218f87f..f0a5f31c 100644 --- a/include/qpdf/QPDF.hh +++ b/include/qpdf/QPDF.hh @@ -133,7 +133,7 @@ class QPDF QPDF_DLL void updateFromJSON(std::shared_ptr<InputSource>); - // Write qpdf json format to the pipeline "p". The only supported + // Write qpdf JSON format to the pipeline "p". The only supported // version is 2. // // If the value of "complete" is true, a complete JSON object diff --git a/include/qpdf/QPDFJob.hh b/include/qpdf/QPDFJob.hh index f2696327..2106a62c 100644 --- a/include/qpdf/QPDFJob.hh +++ b/include/qpdf/QPDFJob.hh @@ -554,7 +554,7 @@ class QPDFJob void setEncryptionOptions(QPDF&, QPDFWriter&); void maybeFixWritePassword(int R, std::string& password); void writeOutfile(QPDF& pdf); - void writeJSON(Pipeline* p, QPDF& pdf, bool complete, bool& first_key); + void writeJSON(QPDF& pdf); // JSON void doJSON(QPDF& pdf, Pipeline*); |