summaryrefslogtreecommitdiff
path: root/doc/apt-ftparchive.1.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/apt-ftparchive.1.sgml')
-rw-r--r--doc/apt-ftparchive.1.sgml11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/apt-ftparchive.1.sgml b/doc/apt-ftparchive.1.sgml
index b45b980a0..25edac403 100644
--- a/doc/apt-ftparchive.1.sgml
+++ b/doc/apt-ftparchive.1.sgml
@@ -518,6 +518,17 @@ for i in Sections do
</VariableList>
</RefSect1>
+<RefSect1><Title>Examples</>
+
+<para>To create a compressed Packages file for a directory containing
+binary packages (.deb):
+
+<programlisting
+<command/apt-ftparchive/ packages <replaceable/directory/ | <command/gzip/ > <filename/Packages.gz/
+</programlisting>
+
+</RefSect1>
+
<RefSect1><Title>See Also</>
<para>
&apt-conf;