aboutsummaryrefslogtreecommitdiffstats
path: root/generate_auto_job
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2023-12-22 22:27:56 +0100
committerJay Berkenbilt <ejb@ql.org>2023-12-23 00:13:05 +0100
commit1173a0bdfc56a08eedafc06afcd37f0b35ac3ea2 (patch)
tree8fea9180275ab264ec20381a6a41d6b42e923532 /generate_auto_job
parent17703a8dcd74bc0baab044aa13f09b909e72bdcb (diff)
downloadqpdf-1173a0bdfc56a08eedafc06afcd37f0b35ac3ea2.tar.zst
Add --user-password, --owner-password, --bits to --encrypt
Add the command-line arguments. They don't do anything yet.
Diffstat (limited to 'generate_auto_job')
-rwxr-xr-xgenerate_auto_job5
1 files changed, 5 insertions, 0 deletions
diff --git a/generate_auto_job b/generate_auto_job
index f6bb908b..10d74d89 100755
--- a/generate_auto_job
+++ b/generate_auto_job
@@ -738,6 +738,11 @@ class Main:
if flag in expected:
options_seen.add(flag)
+ elif flag.startswith('__'):
+ # This marks a flag that has no JSON equivalent because it
+ # is handled in some other fashion.
+ options_seen.add(flag[2:])
+ return
elif isinstance(j, str):
if not flag.startswith('_'):
raise Exception(f'json: {flag} has a description'