aboutsummaryrefslogtreecommitdiffstats
path: root/qpdf
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2021-02-23 15:23:35 +0100
committerJay Berkenbilt <ejb@ql.org>2021-02-23 16:38:05 +0100
commit1886673d7e7846be6936a660ae97158d1d1c6113 (patch)
treefae1e99aaebae352128490bd4d07e87b09cc5072 /qpdf
parent1e4c1be267f579477457239ff2f8ef8e0be45248 (diff)
downloadqpdf-1886673d7e7846be6936a660ae97158d1d1c6113.tar.zst
Spell check
Diffstat (limited to 'qpdf')
-rw-r--r--qpdf/qpdf.cc6
-rw-r--r--qpdf/qtest/qpdf/add-attachments-duplicate.out2
2 files changed, 4 insertions, 4 deletions
diff --git a/qpdf/qpdf.cc b/qpdf/qpdf.cc
index ea52d6d3..5b1295c0 100644
--- a/qpdf/qpdf.cc
+++ b/qpdf/qpdf.cc
@@ -789,7 +789,7 @@ class ArgParser
void argShowCrypto();
void argPositional(char* arg);
void argPassword(char* parameter);
- void argPasswordFile(char* paramter);
+ void argPasswordFile(char* parameter);
void argEmpty();
void argLinearize();
void argEncrypt();
@@ -3709,7 +3709,7 @@ ArgParser::doFinalChecks()
// the user password, so this lack of security is not an issue
// for those files. Also we are consider only the ability to
// open the file without a password to be insecure. We are not
- // concerned about whether the viwer enforces security
+ // concerned about whether the viewer enforces security
// settings when the user and owner password match.
usage("A PDF with a non-empty user password and an empty owner"
" password encrypted with a 256-bit key is insecure as it"
@@ -5305,7 +5305,7 @@ static void add_attachments(QPDF& pdf, Options& o, int& exit_code)
std::cerr << whoami << ": " << pdf.getFilename()
<< " already has an attachment with key = "
<< to_add.key << "; use --replace to replace"
- << " or --key to specificy a different key"
+ << " or --key to specify a different key"
<< std::endl;
exit_code = EXIT_ERROR;
continue;
diff --git a/qpdf/qtest/qpdf/add-attachments-duplicate.out b/qpdf/qtest/qpdf/add-attachments-duplicate.out
index 48b2f5eb..7a5a51b4 100644
--- a/qpdf/qtest/qpdf/add-attachments-duplicate.out
+++ b/qpdf/qtest/qpdf/add-attachments-duplicate.out
@@ -1,2 +1,2 @@
-qpdf: a.pdf already has an attachment with key = auto-1; use --replace to replace or --key to specificy a different key
+qpdf: a.pdf already has an attachment with key = auto-1; use --replace to replace or --key to specify a different key
qpdf: wrote file b.pdf