Commit 22f5b01f54f43b1c27d9594382e8a6ec58db5dcb

Authored by Jay Berkenbilt
1 parent 5963267b

Fix documentation errors.

manual/qpdf-manual.xml
@@ -728,6 +728,18 @@ make @@ -728,6 +728,18 @@ make
728 </listitem> 728 </listitem>
729 </varlistentry> 729 </varlistentry>
730 <varlistentry> 730 <varlistentry>
  731 + <term><option>--static-aes-iv</option></term>
  732 + <listitem>
  733 + <para>
  734 + Causes use of a static initialization vector for AES-CBC.
  735 + This is intended for testing only so that output files can be
  736 + reproducible. Never use it for production files. This option
  737 + in particular is not secure since it significantly weakens the
  738 + encryption.
  739 + </para>
  740 + </listitem>
  741 + </varlistentry>
  742 + <varlistentry>
731 <term><option>--no-original-object-ids</option></term> 743 <term><option>--no-original-object-ids</option></term>
732 <listitem> 744 <listitem>
733 <para> 745 <para>
manual/qpdf.1.in
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
5 qpdf \- PDF transformation software 5 qpdf \- PDF transformation software
6 .SH SYNOPSIS 6 .SH SYNOPSIS
7 .B qpdf 7 .B qpdf
8 -[ \fIoptions \fR] \fIinfilename outfilename\fR 8 +[ \fIoptions \fR] \fIinfilename [ outfilename ]\fR
9 .SH DESCRIPTION 9 .SH DESCRIPTION
10 The qpdf program is used to convert one PDF file to another equivalent 10 The qpdf program is used to convert one PDF file to another equivalent
11 PDF file. It is capable of performing a variety of transformations 11 PDF file. It is capable of performing a variety of transformations
manual/zlib-flate.1.in
@@ -4,18 +4,23 @@ @@ -4,18 +4,23 @@
4 .SH NAME 4 .SH NAME
5 zlib-flate \- raw zlib compression program 5 zlib-flate \- raw zlib compression program
6 .SH SYNOPSIS 6 .SH SYNOPSIS
7 -.B qpdf 7 +.B zlib-flate
8 \fI-compress | -uncompress\fR 8 \fI-compress | -uncompress\fR
9 .SH DESCRIPTION 9 .SH DESCRIPTION
10 The zlib-flate program is part of the qpdf package. 10 The zlib-flate program is part of the qpdf package.
11 .PP 11 .PP
12 -The zlib-flate program standard from input and writes to standard  
13 -output either compressing or compressing its input using raw zlib  
14 -compression. This program is provided primarily as a debugging tool.  
15 -It can be used to uncompress or compress raw PDF streams. 12 +The zlib-flate program reads from standard input and writes to
  13 +standard output either compressing or compressing its input using raw
  14 +zlib compression. It can be used to uncompress or compress raw PDF
  15 +streams or other data that is compressed with raw zlib compression.
  16 +This program is provided primarily as a debugging tool, though it
  17 +could be used for other purposes, such as being called from a script
  18 +that creates simple PDF files.
16 .PP 19 .PP
17 This program should not be used as a general purpose compression 20 This program should not be used as a general purpose compression
18 tool. Use something like gzip(1) instead. 21 tool. Use something like gzip(1) instead.
19 .PP 22 .PP
20 For details about qpdf, please see the qpdf manual, which can be found 23 For details about qpdf, please see the qpdf manual, which can be found
21 in @docdir@/qpdf-manual.html or @docdir@/qpdf-manual.pdf. 24 in @docdir@/qpdf-manual.html or @docdir@/qpdf-manual.pdf.
  25 +.SH "SEE ALSO"
  26 +qpdf(1), gzip(1)
qpdf/qpdf.cc
@@ -29,7 +29,7 @@ static char const* whoami = 0; @@ -29,7 +29,7 @@ static char const* whoami = 0;
29 29
30 static char const* help = "\ 30 static char const* help = "\
31 \n\ 31 \n\
32 -Usage: qpdf [ options ] infilename outfilename\n\ 32 +Usage: qpdf [ options ] infilename [ outfilename ]\n\
33 \n\ 33 \n\
34 An option summary appears below. Please see the documentation for details.\n\ 34 An option summary appears below. Please see the documentation for details.\n\
35 \n\ 35 \n\