diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/apt-cache.8.xml | 15 | ||||
-rw-r--r-- | doc/apt-get.8.xml | 8 |
2 files changed, 22 insertions, 1 deletions
diff --git a/doc/apt-cache.8.xml b/doc/apt-cache.8.xml index 4e2de26bc..66f608b13 100644 --- a/doc/apt-cache.8.xml +++ b/doc/apt-cache.8.xml @@ -350,6 +350,21 @@ Reverse Provides: Configuration Item: <literal>APT::Cache::Installed</literal>.</para></listitem> </varlistentry> + <varlistentry><term><option>--with-source</option> <option>&synopsis-param-filename;</option></term> + <listitem><para> + Adds the given file as a source for metadata. Can be repeated to add multiple files. + Supported are currently <literal>*.deb</literal>, <literal>*.dsc</literal>, + <literal>*.changes</literal>, <literal>Sources</literal> and + <literal>Packages</literal> files as well as source package directories. + Files are matched based on their name only, not their content!</para> + <para><literal>Sources</literal> and <literal>Packages</literal> can be compressed in any + format apt supports as long as they have the correct extension. If you need to store + multiple of these files in one directory you can prefix a name of your choice with the + last character being an underscore ("<literal>_</literal>"). Example: my.example_Packages.xz</para> + <para>Note that these sources are treated as trusted (see &apt-secure;). + Configuration Item: <literal>APT::Sources::With</literal>.</para></listitem> + </varlistentry> + &apt-commonoptions; </variablelist> diff --git a/doc/apt-get.8.xml b/doc/apt-get.8.xml index 20555b77e..074262595 100644 --- a/doc/apt-get.8.xml +++ b/doc/apt-get.8.xml @@ -577,7 +577,13 @@ README.progress-reporting in the apt doc directory. Configuration Item: <literal>Dpkg::Progress</literal> and <literal>Dpkg::Progress-Fancy</literal>.</para></listitem> </varlistentry> - + + <varlistentry><term><option>--with-source</option> <option>&synopsis-param-filename;</option></term> + <listitem><para> + Adds the given file as a source for metadata. Can be repeated to add multiple files. + See <option>--with-source</option> description in &apt-cache; for further details. + </para></listitem> + </varlistentry> &apt-commonoptions; |