diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-05-07 23:17:27 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-05-08 19:45:20 +0200 |
commit | e9390aeaaa3d4a6c6af5478bfd7a5fd6b2373087 (patch) | |
tree | b3a2e8728a46fabba362c0e7458994da6219fe91 /libqpdf/qpdf/auto_job_init.hh | |
parent | 2e87d593eb2f593807c34e7baa66b77bb039b996 (diff) | |
download | qpdf-e9390aeaaa3d4a6c6af5478bfd7a5fd6b2373087.tar.zst |
Add --to-json option
Diffstat (limited to 'libqpdf/qpdf/auto_job_init.hh')
-rw-r--r-- | libqpdf/qpdf/auto_job_init.hh | 1 |
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();}); |