aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/pdf-invert-images.cc3
-rw-r--r--examples/pdf-overlay-page.cc4
-rw-r--r--examples/qpdf-job.cc10
-rw-r--r--examples/qpdfjob-c.c2
4 files changed, 9 insertions, 10 deletions
diff --git a/examples/pdf-invert-images.cc b/examples/pdf-invert-images.cc
index 4ec83b84..d3037984 100644
--- a/examples/pdf-invert-images.cc
+++ b/examples/pdf-invert-images.cc
@@ -15,8 +15,7 @@ void
usage()
{
std::cerr << "Usage: " << whoami << " infile.pdf outfile.pdf [in-password]" << std::endl
- << "Invert some images in infile.pdf;"
- << " write output to outfile.pdf" << std::endl;
+ << "Invert some images in infile.pdf; write output to outfile.pdf" << std::endl;
exit(2);
}
diff --git a/examples/pdf-overlay-page.cc b/examples/pdf-overlay-page.cc
index 75577094..97ee8024 100644
--- a/examples/pdf-overlay-page.cc
+++ b/examples/pdf-overlay-page.cc
@@ -16,8 +16,8 @@ void
usage()
{
std::cerr << "Usage: " << whoami << " infile pagefile outfile" << std::endl
- << "Stamp page 1 of pagefile on every page of infile,"
- << " writing to outfile" << std::endl;
+ << "Stamp page 1 of pagefile on every page of infile, writing to outfile"
+ << std::endl;
exit(2);
}
diff --git a/examples/qpdf-job.cc b/examples/qpdf-job.cc
index 99b853ea..3e6e99bd 100644
--- a/examples/qpdf-job.cc
+++ b/examples/qpdf-job.cc
@@ -11,10 +11,10 @@ static void
usage()
{
std::cerr << "Usage: " << whoami << std::endl
- << "This program linearizes the first page of in.pdf to out1.pdf,"
- << " out2.pdf, and" << std::endl
- << " out3.pdf, each demonstrating a different way to use the"
- << " QPDFJob API" << std::endl;
+ << "This program linearizes the first page of in.pdf to out1.pdf, out2.pdf, and"
+ << std::endl
+ << " out3.pdf, each demonstrating a different way to use the QPDFJob API"
+ << std::endl;
exit(2);
}
@@ -43,7 +43,7 @@ main(int argc, char* argv[])
->pageSpec(".", "1")
->endPages()
->linearize()
- ->staticId() // for testing only
+ ->staticId() // for testing only
->compressStreams("n") // avoid dependency on zlib output
->checkConfiguration();
j.run();
diff --git a/examples/qpdfjob-c.c b/examples/qpdfjob-c.c
index 6dd68283..e4f6fdf1 100644
--- a/examples/qpdfjob-c.c
+++ b/examples/qpdfjob-c.c
@@ -42,7 +42,7 @@ main(int argc, char* argv[])
new_argv[1] = infile;
new_argv[2] = outfile;
new_argv[3] = "--linearize";
- new_argv[4] = "--static-id"; /* for testing only */
+ new_argv[4] = "--static-id"; /* for testing only */
new_argv[5] = "--compress-streams=n"; /* avoid dependency on zlib output */
new_argv[6] = NULL;