diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-01-22 21:39:54 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-01-30 19:11:03 +0100 |
commit | 67f9d0b7d5857a73c974f5a54cd1abbe65231fce (patch) | |
tree | 8d1507c77201a7ce856c4baf4801156555b499df /libqpdf | |
parent | 8dea480c9f065fdac76f848ed9ec7a07fd1e9870 (diff) | |
download | qpdf-67f9d0b7d5857a73c974f5a54cd1abbe65231fce.tar.zst |
cli.rst: remove () from end of short help
This is used to generate a schema for the job json, which can't
contain `)"` because it breaks the R"(...)" syntax in C++. While C++
accepts R"anything(...)anything" to avoid this, as of this writing,
MSVC 2019 doesn't understand that. For now, just avoid it by removing
parentheses from the end of short help.
Diffstat (limited to 'libqpdf')
-rw-r--r-- | libqpdf/qpdf/auto_job_help.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libqpdf/qpdf/auto_job_help.hh b/libqpdf/qpdf/auto_job_help.hh index 348e9ad9..dd55fb0c 100644 --- a/libqpdf/qpdf/auto_job_help.hh +++ b/libqpdf/qpdf/auto_job_help.hh @@ -366,7 +366,7 @@ Don't optimize images whose area in pixels is below the specified value. )"); ap.addOptionHelp("--keep-inline-images", "modification", "exclude inline images from optimization", R"(Prevent inline images from being considered by --optimize-images. )"); -ap.addOptionHelp("--remove-page-labels", "modification", "remove page labels (numbers)", R"(Exclude page labels (explicit page numbers) from the output file. +ap.addOptionHelp("--remove-page-labels", "modification", "remove explicit page numbers", R"(Exclude page labels (explicit page numbers) from the output file. )"); ap.addHelpTopic("encryption", "create encrypted files", R"(Create encrypted files. Usage: @@ -674,7 +674,7 @@ Specify the attachment's modification date in PDF format; defaults to the current time. Run qpdf --help=pdf-dates for information about the date format. )"); -ap.addOptionHelp("--mimetype", "add-attachment", "attachment mime type (e.g. application/pdf)", R"(--mimetype=type/subtype +ap.addOptionHelp("--mimetype", "add-attachment", "attachment mime type, e.g. application/pdf", R"(--mimetype=type/subtype Specify the mime type for the attachment, such as text/plain, application/pdf, image/png, etc. |