aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/auto_job_init.hh
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-05-07 23:17:27 +0200
committerJay Berkenbilt <ejb@ql.org>2022-05-08 19:45:20 +0200
commite9390aeaaa3d4a6c6af5478bfd7a5fd6b2373087 (patch)
treeb3a2e8728a46fabba362c0e7458994da6219fe91 /libqpdf/qpdf/auto_job_init.hh
parent2e87d593eb2f593807c34e7baa66b77bb039b996 (diff)
downloadqpdf-e9390aeaaa3d4a6c6af5478bfd7a5fd6b2373087.tar.zst
Add --to-json option
Diffstat (limited to 'libqpdf/qpdf/auto_job_init.hh')
-rw-r--r--libqpdf/qpdf/auto_job_init.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/libqpdf/qpdf/auto_job_init.hh b/libqpdf/qpdf/auto_job_init.hh
index 5c13275c..f3ec1db6 100644
--- a/libqpdf/qpdf/auto_job_init.hh
+++ b/libqpdf/qpdf/auto_job_init.hh
@@ -79,6 +79,7 @@ this->ap.addBare("static-id", [this](){c_main->staticId();});
this->ap.addBare("suppress-password-recovery", [this](){c_main->suppressPasswordRecovery();});
this->ap.addBare("suppress-recovery", [this](){c_main->suppressRecovery();});
this->ap.addBare("test-json-schema", [this](){c_main->testJsonSchema();});
+this->ap.addBare("to-json", [this](){c_main->toJson();});
this->ap.addBare("underlay", b(&ArgParser::argUnderlay));
this->ap.addBare("verbose", [this](){c_main->verbose();});
this->ap.addBare("warning-exit-0", [this](){c_main->warningExit0();});