summaryrefslogtreecommitdiffstats
path: root/libqpdf
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-02-01 00:24:44 +0100
committerJay Berkenbilt <ejb@ql.org>2022-02-01 00:26:03 +0100
commit606420ab5432e6b1dff33798e8ff8572a3ea226a (patch)
tree8493908ae936144bed89e78b8ed83ef50f786e27 /libqpdf
parent21b9290785fb03477784cf6312f57cfb96dbe53d (diff)
downloadqpdf-606420ab5432e6b1dff33798e8ff8572a3ea226a.tar.zst
Tweak short text for job schema help
Diffstat (limited to 'libqpdf')
-rw-r--r--libqpdf/qpdf/auto_job_help.hh10
-rw-r--r--libqpdf/qpdf/auto_job_schema.hh24
2 files changed, 17 insertions, 17 deletions
diff --git a/libqpdf/qpdf/auto_job_help.hh b/libqpdf/qpdf/auto_job_help.hh
index ff497289..34c6aa8a 100644
--- a/libqpdf/qpdf/auto_job_help.hh
+++ b/libqpdf/qpdf/auto_job_help.hh
@@ -22,10 +22,10 @@ Usage: qpdf [infile] [options] [outfile]
- @- may be used to read arguments from stdin
- Later options may override earlier options if contradictory
)");
-ap.addOptionHelp("--empty", "usage", "empty input file", R"(Use in place of infile for an empty input. Especially useful
+ap.addOptionHelp("--empty", "usage", "use empty file as input", R"(Use in place of infile for an empty input. Especially useful
with --pages.
)");
-ap.addOptionHelp("--replace-input", "usage", "replace input with output", R"(Use in place of outfile to overwrite the input file with the output.
+ap.addOptionHelp("--replace-input", "usage", "overwrite input with output", R"(Use in place of outfile to overwrite the input file with the output.
)");
ap.addOptionHelp("--job-json-file", "usage", "job JSON file", R"(--job-json-file=file
@@ -70,7 +70,7 @@ default provider is shown first.
ap.addHelpTopic("general", "general options", R"(General options control qpdf's behavior in ways that are not
directly related to the operation it is performing.
)");
-ap.addOptionHelp("--password", "general", "specify password", R"(--password=password
+ap.addOptionHelp("--password", "general", "password for encrypted file", R"(--password=password
Specify a password for an encrypted, password-protected file.
Not needed for encrypted files without a password.
@@ -796,13 +796,13 @@ specific version or "latest".
)");
ap.addOptionHelp("--json-help", "json", "show format of json output", R"(Describe the format of the JSON output.
)");
-ap.addOptionHelp("--json-key", "json", "restrict which keys are in json output", R"(--json-key=key
+ap.addOptionHelp("--json-key", "json", "limit which keys are in json output", R"(--json-key=key
This option is repeatable. If given, only the specified
top-level keys will be included in the JSON output. Otherwise,
all keys will be included.
)");
-ap.addOptionHelp("--json-object", "json", "restrict which objects are in JSON", R"(--json-object={trailer|obj[,gen]}
+ap.addOptionHelp("--json-object", "json", "limit which objects are in JSON", R"(--json-object={trailer|obj[,gen]}
This option is repeatable. If given, only specified objects will
be shown in the "objects" key of the JSON output. Otherwise, all
diff --git a/libqpdf/qpdf/auto_job_schema.hh b/libqpdf/qpdf/auto_job_schema.hh
index e5bbb866..21a6747a 100644
--- a/libqpdf/qpdf/auto_job_schema.hh
+++ b/libqpdf/qpdf/auto_job_schema.hh
@@ -1,10 +1,10 @@
static constexpr char const* JOB_SCHEMA_DATA = R"({
"inputFile": "input filename",
- "password": "specify password",
+ "password": "password for encrypted file",
"passwordFile": "read password from a file",
- "empty": "empty input file",
+ "empty": "use empty file as input",
"outputFile": "output filename",
- "replaceInput": "replace input with output",
+ "replaceInput": "overwrite input with output",
"qdf": "enable viewing PDF code in a text editor",
"preserveUnreferenced": "preserve unreferenced objects",
"newlineBeforeEndstream": "force a newline before endstream",
@@ -79,10 +79,10 @@ static constexpr char const* JOB_SCHEMA_DATA = R"({
"showAttachment": "export an embedded file",
"json": "show file in json format",
"jsonKey": [
- "restrict which keys are in json output"
+ "limit which keys are in json output"
],
"jsonObject": [
- "restrict which objects are in JSON"
+ "limit which objects are in JSON"
],
"allowWeakCrypto": "allow insecure cryptographic algorithms",
"keepFilesOpen": "manage keeping multiple files open",
@@ -101,7 +101,7 @@ static constexpr char const* JOB_SCHEMA_DATA = R"({
"removeUnreferencedResources": "remove unreferenced page resources",
"addAttachment": [
{
- "file": "attachment to add",
+ "file": "file to attach",
"creationdate": "set attachment's creation date",
"description": "set attachment's description",
"filename": "set attachment's displayed filename",
@@ -114,8 +114,8 @@ static constexpr char const* JOB_SCHEMA_DATA = R"({
"removeAttachment": "remove an embedded file",
"copyAttachmentsFrom": [
{
- "file": "attachment source filename",
- "password": "specify password",
+ "file": "file to copy attachments from",
+ "password": "password for encrypted file",
"prefix": "key prefix for copying attachments"
}
],
@@ -131,7 +131,7 @@ static constexpr char const* JOB_SCHEMA_DATA = R"({
"pages": [
{
"file": "source for for pages",
- "password": "specify password",
+ "password": "password for encrypted file",
"range": "page range"
}
],
@@ -139,21 +139,21 @@ static constexpr char const* JOB_SCHEMA_DATA = R"({
"rotate": "rotate pages",
"overlay": {
"file": "source file for overlay",
- "password": "specify password",
+ "password": "password for encrypted file",
"from": "source pages for underlay/overlay",
"repeat": "overlay/underlay pages to repeat",
"to": "destination pages for underlay/overlay"
},
"underlay": {
"file": "source file for underlay",
- "password": "specify password",
+ "password": "password for encrypted file",
"from": "source pages for underlay/overlay",
"repeat": "overlay/underlay pages to repeat",
"to": "destination pages for underlay/overlay"
},
"warningExit0": "exit 0 even with warnings",
"jobJsonFile": "job JSON file",
- "preserveUnreferencedResources": "use removeUnreferencedResourcesNo",
+ "preserveUnreferencedResources": "use removeUnreferencedResources=no",
"requiresPassword": "silently test a file's password",
"isEncrypted": "silently test whether a file is encrypted"
})";