From ce86307a1aa5918810c4eb64344e41c7dc0507c9 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 10 Apr 2022 15:02:56 -0400 Subject: Fix typo in error message --- libqpdf/QPDFJob_config.cc | 2 +- qpdf/qtest/qpdf/bad-bare-option-false-json.out | 2 +- qpdf/qtest/qpdf/bad-choice-mismatch-json.out | 2 +- qpdf/qtest/qpdf/bad-encrypt-duplicate-key-length-json.out | 2 +- qpdf/qtest/qpdf/bad-encrypt-missing-password-json.out | 2 +- qpdf/qtest/qpdf/bad-encrypt-no-key-length-json.out | 2 +- qpdf/qtest/qpdf/bad-json-error-json.out | 2 +- qpdf/qtest/qpdf/bad-pages-no-file-json.out | 2 +- qpdf/qtest/qpdf/bad-schema-error-json.out | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/libqpdf/QPDFJob_config.cc b/libqpdf/QPDFJob_config.cc index 8bd9cc2e..6d4bf933 100644 --- a/libqpdf/QPDFJob_config.cc +++ b/libqpdf/QPDFJob_config.cc @@ -694,7 +694,7 @@ QPDFJob::Config::jobJsonFile(std::string const& parameter) throw std::runtime_error( "error with job-json file " + std::string(parameter) + ": " + e.what() + "\nRun " + this->o.m->message_prefix + - "--job-json-help for information on the file format."); + " --job-json-help for information on the file format."); } return this; } diff --git a/qpdf/qtest/qpdf/bad-bare-option-false-json.out b/qpdf/qtest/qpdf/bad-bare-option-false-json.out index 8a507017..b2b10bc4 100644 --- a/qpdf/qtest/qpdf/bad-bare-option-false-json.out +++ b/qpdf/qtest/qpdf/bad-bare-option-false-json.out @@ -1,6 +1,6 @@ qpdf: error with job-json file bad-json-bare-option-false.json: .qdf: value must be the empty string -Run qpdf--job-json-help for information on the file format. +Run qpdf --job-json-help for information on the file format. For help: qpdf --help=usage usage information diff --git a/qpdf/qtest/qpdf/bad-choice-mismatch-json.out b/qpdf/qtest/qpdf/bad-choice-mismatch-json.out index d130e633..7bd8ecea 100644 --- a/qpdf/qtest/qpdf/bad-choice-mismatch-json.out +++ b/qpdf/qtest/qpdf/bad-choice-mismatch-json.out @@ -1,6 +1,6 @@ qpdf: error with job-json file bad-json-choice-mismatch.json: .objectStreams: unexpected value; expected one of disable, preserve, generate -Run qpdf--job-json-help for information on the file format. +Run qpdf --job-json-help for information on the file format. For help: qpdf --help=usage usage information diff --git a/qpdf/qtest/qpdf/bad-encrypt-duplicate-key-length-json.out b/qpdf/qtest/qpdf/bad-encrypt-duplicate-key-length-json.out index 6ada4636..02199f4a 100644 --- a/qpdf/qtest/qpdf/bad-encrypt-duplicate-key-length-json.out +++ b/qpdf/qtest/qpdf/bad-encrypt-duplicate-key-length-json.out @@ -1,6 +1,6 @@ qpdf: error with job-json file bad-json-encrypt-duplicate-key-length.json: exactly one of 40bit, 128bit, or 256bit must be given -Run qpdf--job-json-help for information on the file format. +Run qpdf --job-json-help for information on the file format. For help: qpdf --help=usage usage information diff --git a/qpdf/qtest/qpdf/bad-encrypt-missing-password-json.out b/qpdf/qtest/qpdf/bad-encrypt-missing-password-json.out index 39feffbe..30fdbafa 100644 --- a/qpdf/qtest/qpdf/bad-encrypt-missing-password-json.out +++ b/qpdf/qtest/qpdf/bad-encrypt-missing-password-json.out @@ -1,6 +1,6 @@ qpdf: error with job-json file bad-json-encrypt-missing-password.json: the user and owner password are both required; use the empty string for the user password if you don't want a password -Run qpdf--job-json-help for information on the file format. +Run qpdf --job-json-help for information on the file format. For help: qpdf --help=usage usage information diff --git a/qpdf/qtest/qpdf/bad-encrypt-no-key-length-json.out b/qpdf/qtest/qpdf/bad-encrypt-no-key-length-json.out index 15b62232..acf1ef4e 100644 --- a/qpdf/qtest/qpdf/bad-encrypt-no-key-length-json.out +++ b/qpdf/qtest/qpdf/bad-encrypt-no-key-length-json.out @@ -1,6 +1,6 @@ qpdf: error with job-json file bad-json-encrypt-no-key-length.json: exactly one of 40bit, 128bit, or 256bit must be given; an empty dictionary may be supplied for one of them to set the key length without imposing any restrictions -Run qpdf--job-json-help for information on the file format. +Run qpdf --job-json-help for information on the file format. For help: qpdf --help=usage usage information diff --git a/qpdf/qtest/qpdf/bad-json-error-json.out b/qpdf/qtest/qpdf/bad-json-error-json.out index 36996342..9da7a705 100644 --- a/qpdf/qtest/qpdf/bad-json-error-json.out +++ b/qpdf/qtest/qpdf/bad-json-error-json.out @@ -1,6 +1,6 @@ qpdf: error with job-json file bad-json-json-error.json: JSON: offset 83: unexpected dictionary end delimiter -Run qpdf--job-json-help for information on the file format. +Run qpdf --job-json-help for information on the file format. For help: qpdf --help=usage usage information diff --git a/qpdf/qtest/qpdf/bad-pages-no-file-json.out b/qpdf/qtest/qpdf/bad-pages-no-file-json.out index 61a3909e..ffab2ed4 100644 --- a/qpdf/qtest/qpdf/bad-pages-no-file-json.out +++ b/qpdf/qtest/qpdf/bad-pages-no-file-json.out @@ -1,6 +1,6 @@ qpdf: error with job-json file bad-json-pages-no-file.json: file is required in page specification -Run qpdf--job-json-help for information on the file format. +Run qpdf --job-json-help for information on the file format. For help: qpdf --help=usage usage information diff --git a/qpdf/qtest/qpdf/bad-schema-error-json.out b/qpdf/qtest/qpdf/bad-schema-error-json.out index b6f18bc1..eeb98cbf 100644 --- a/qpdf/qtest/qpdf/bad-schema-error-json.out +++ b/qpdf/qtest/qpdf/bad-schema-error-json.out @@ -1,7 +1,7 @@ qpdf: error with job-json file bad-json-schema-error.json: qpdf: job json has errors: top-level object: key "potato" is not present in schema but appears in object -Run qpdf--job-json-help for information on the file format. +Run qpdf --job-json-help for information on the file format. For help: qpdf --help=usage usage information -- cgit v1.2.3-54-g00ecf