aboutsummaryrefslogtreecommitdiffstats
path: root/job.yml
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-01-31 20:20:06 +0100
committerJay Berkenbilt <ejb@ql.org>2022-01-31 21:57:45 +0100
commite3506253f17137d6d4831b4615d74689446da72c (patch)
tree5357ed44fbbd4be6e41935a8f2d6c43ce2913316 /job.yml
parentb4fb9b4ec3e70945b07436c1f4a6a222c2d28b9f (diff)
downloadqpdf-e3506253f17137d6d4831b4615d74689446da72c.tar.zst
Add optional version to --json
Diffstat (limited to 'job.yml')
-rw-r--r--job.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/job.yml b/job.yml
index bfd4f6f1..4b1df7cf 100644
--- a/job.yml
+++ b/job.yml
@@ -29,6 +29,9 @@ choices:
- all
- print
- screen
+ json_version:
+ - 1
+ - latest
json_key:
# The list of selectable top-level keys id duplicated in the
# following places: job.yml, QPDFJob::json_schema, and
@@ -88,7 +91,6 @@ options:
- generate-appearances
- ignore-xref-streams
- is-encrypted
- - json
- keep-inline-images
- linearize
- list-attachments
@@ -156,6 +158,8 @@ options:
password-mode: password_mode
remove-unreferenced-resources: remove_unref
stream-data: stream_data
+ optional_choices:
+ json: json_version
- table: pages
config: c_pages
prefix: Pages