Commit 19608ec151f218aa5f7c47a2d1e497d88acbb3be

Authored by Jay Berkenbilt
1 parent 894940d1

Add missing spaces in usageExit

qpdf/qpdf.cc
@@ -16,13 +16,13 @@ static void usageExit(std::string const& msg) @@ -16,13 +16,13 @@ static void usageExit(std::string const& msg)
16 << whoami << ": " << msg << std::endl 16 << whoami << ": " << msg << std::endl
17 << std::endl 17 << std::endl
18 << "For help:" << std::endl 18 << "For help:" << std::endl
19 - << " " << whoami << "--help=usage usage information" 19 + << " " << whoami << " --help=usage usage information"
20 << std::endl 20 << std::endl
21 - << " " << whoami << "--help=topic help on a topic" 21 + << " " << whoami << " --help=topic help on a topic"
22 << std::endl 22 << std::endl
23 - << " " << whoami << "--help=--option help on an option" 23 + << " " << whoami << " --help=--option help on an option"
24 << std::endl 24 << std::endl
25 - << " " << whoami << "--help general help and a topic list" 25 + << " " << whoami << " --help general help and a topic list"
26 << std::endl 26 << std::endl
27 << std::endl; 27 << std::endl;
28 exit(QPDFJob::EXIT_ERROR); 28 exit(QPDFJob::EXIT_ERROR);
qpdf/qtest/qpdf/bad-bare-option-false-json.out
@@ -3,8 +3,8 @@ qpdf: error with job-json file bad-json-bare-option-false.json: .qdf: value must @@ -3,8 +3,8 @@ qpdf: error with job-json file bad-json-bare-option-false.json: .qdf: value must
3 Run qpdf--job-json-help for information on the file format. 3 Run qpdf--job-json-help for information on the file format.
4 4
5 For help: 5 For help:
6 - qpdf--help=usage usage information  
7 - qpdf--help=topic help on a topic  
8 - qpdf--help=--option help on an option  
9 - qpdf--help general help and a topic list 6 + qpdf --help=usage usage information
  7 + qpdf --help=topic help on a topic
  8 + qpdf --help=--option help on an option
  9 + qpdf --help general help and a topic list
10 10
qpdf/qtest/qpdf/bad-choice-mismatch-json.out
@@ -3,8 +3,8 @@ qpdf: error with job-json file bad-json-choice-mismatch.json: .objectStreams: un @@ -3,8 +3,8 @@ qpdf: error with job-json file bad-json-choice-mismatch.json: .objectStreams: un
3 Run qpdf--job-json-help for information on the file format. 3 Run qpdf--job-json-help for information on the file format.
4 4
5 For help: 5 For help:
6 - qpdf--help=usage usage information  
7 - qpdf--help=topic help on a topic  
8 - qpdf--help=--option help on an option  
9 - qpdf--help general help and a topic list 6 + qpdf --help=usage usage information
  7 + qpdf --help=topic help on a topic
  8 + qpdf --help=--option help on an option
  9 + qpdf --help general help and a topic list
10 10
qpdf/qtest/qpdf/bad-encrypt-duplicate-key-length-json.out
@@ -3,8 +3,8 @@ qpdf: error with job-json file bad-json-encrypt-duplicate-key-length.json: exact @@ -3,8 +3,8 @@ qpdf: error with job-json file bad-json-encrypt-duplicate-key-length.json: exact
3 Run qpdf--job-json-help for information on the file format. 3 Run qpdf--job-json-help for information on the file format.
4 4
5 For help: 5 For help:
6 - qpdf--help=usage usage information  
7 - qpdf--help=topic help on a topic  
8 - qpdf--help=--option help on an option  
9 - qpdf--help general help and a topic list 6 + qpdf --help=usage usage information
  7 + qpdf --help=topic help on a topic
  8 + qpdf --help=--option help on an option
  9 + qpdf --help general help and a topic list
10 10
qpdf/qtest/qpdf/bad-encrypt-missing-password-json.out
@@ -3,8 +3,8 @@ qpdf: error with job-json file bad-json-encrypt-missing-password.json: the user @@ -3,8 +3,8 @@ qpdf: error with job-json file bad-json-encrypt-missing-password.json: the user
3 Run qpdf--job-json-help for information on the file format. 3 Run qpdf--job-json-help for information on the file format.
4 4
5 For help: 5 For help:
6 - qpdf--help=usage usage information  
7 - qpdf--help=topic help on a topic  
8 - qpdf--help=--option help on an option  
9 - qpdf--help general help and a topic list 6 + qpdf --help=usage usage information
  7 + qpdf --help=topic help on a topic
  8 + qpdf --help=--option help on an option
  9 + qpdf --help general help and a topic list
10 10
qpdf/qtest/qpdf/bad-encrypt-no-key-length-json.out
@@ -3,8 +3,8 @@ qpdf: error with job-json file bad-json-encrypt-no-key-length.json: exactly one @@ -3,8 +3,8 @@ qpdf: error with job-json file bad-json-encrypt-no-key-length.json: exactly one
3 Run qpdf--job-json-help for information on the file format. 3 Run qpdf--job-json-help for information on the file format.
4 4
5 For help: 5 For help:
6 - qpdf--help=usage usage information  
7 - qpdf--help=topic help on a topic  
8 - qpdf--help=--option help on an option  
9 - qpdf--help general help and a topic list 6 + qpdf --help=usage usage information
  7 + qpdf --help=topic help on a topic
  8 + qpdf --help=--option help on an option
  9 + qpdf --help general help and a topic list
10 10
qpdf/qtest/qpdf/bad-json-error-json.out
@@ -3,8 +3,8 @@ qpdf: error with job-json file bad-json-json-error.json: JSON: offset 83: unexpe @@ -3,8 +3,8 @@ qpdf: error with job-json file bad-json-json-error.json: JSON: offset 83: unexpe
3 Run qpdf--job-json-help for information on the file format. 3 Run qpdf--job-json-help for information on the file format.
4 4
5 For help: 5 For help:
6 - qpdf--help=usage usage information  
7 - qpdf--help=topic help on a topic  
8 - qpdf--help=--option help on an option  
9 - qpdf--help general help and a topic list 6 + qpdf --help=usage usage information
  7 + qpdf --help=topic help on a topic
  8 + qpdf --help=--option help on an option
  9 + qpdf --help general help and a topic list
10 10
qpdf/qtest/qpdf/bad-pages-no-file-json.out
@@ -3,8 +3,8 @@ qpdf: error with job-json file bad-json-pages-no-file.json: file is required in @@ -3,8 +3,8 @@ qpdf: error with job-json file bad-json-pages-no-file.json: file is required in
3 Run qpdf--job-json-help for information on the file format. 3 Run qpdf--job-json-help for information on the file format.
4 4
5 For help: 5 For help:
6 - qpdf--help=usage usage information  
7 - qpdf--help=topic help on a topic  
8 - qpdf--help=--option help on an option  
9 - qpdf--help general help and a topic list 6 + qpdf --help=usage usage information
  7 + qpdf --help=topic help on a topic
  8 + qpdf --help=--option help on an option
  9 + qpdf --help general help and a topic list
10 10
qpdf/qtest/qpdf/bad-schema-error-json.out
@@ -4,8 +4,8 @@ qpdf: error with job-json file bad-json-schema-error.json: qpdf: job json has er @@ -4,8 +4,8 @@ qpdf: error with job-json file bad-json-schema-error.json: qpdf: job json has er
4 Run qpdf--job-json-help for information on the file format. 4 Run qpdf--job-json-help for information on the file format.
5 5
6 For help: 6 For help:
7 - qpdf--help=usage usage information  
8 - qpdf--help=topic help on a topic  
9 - qpdf--help=--option help on an option  
10 - qpdf--help general help and a topic list 7 + qpdf --help=usage usage information
  8 + qpdf --help=topic help on a topic
  9 + qpdf --help=--option help on an option
  10 + qpdf --help general help and a topic list
11 11
qpdf/qtest/qpdf/split-pages-stdout.out
@@ -2,8 +2,8 @@ @@ -2,8 +2,8 @@
2 qpdf: --split-pages may not be used when writing to standard output 2 qpdf: --split-pages may not be used when writing to standard output
3 3
4 For help: 4 For help:
5 - qpdf--help=usage usage information  
6 - qpdf--help=topic help on a topic  
7 - qpdf--help=--option help on an option  
8 - qpdf--help general help and a topic list 5 + qpdf --help=usage usage information
  6 + qpdf --help=topic help on a topic
  7 + qpdf --help=--option help on an option
  8 + qpdf --help general help and a topic list
9 9