summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog1
-rw-r--r--doc/apt-ftparchive.1.sgml11
2 files changed, 12 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index e76104f4e..35a977b87 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -31,6 +31,7 @@ apt (0.5.6) unstable; urgency=low
clarifications from Thomas Hood <jdthood@yahoo.co.uk>
(Closes: #193336)
- Fix SGML validation errors in apt-cache.8.sgml introduced in 0.5.5 or so
+ - Add a simple example to apt-ftparchive(1) (Closes: #95257)
--
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;