summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-09-26 16:14:54 +0200
committerJulian Andres Klode <jak@debian.org>2009-09-26 16:14:54 +0200
commit31f113db16fc6854be90ca7ec3f7321fd65e99f3 (patch)
treee59386e2d17921149a8d3ecacdbc4022c4ec68bc /doc
parent52f2e1dadd74b6cce8fd72f1a693fb774bfe5cdf (diff)
doc/apt.conf.5.xml: Restrict option names to alphanumerical characters and "/-:._+".
Diffstat (limited to 'doc')
-rw-r--r--doc/apt.conf.5.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/apt.conf.5.xml b/doc/apt.conf.5.xml
index b1522a614..661f97ab1 100644
--- a/doc/apt.conf.5.xml
+++ b/doc/apt.conf.5.xml
@@ -62,8 +62,9 @@
semicolon and the quotes are required. The value must be on one line, and
there is no kind of string concatenation. It must not include inside quotes.
The behavior of the backslash "\" and escaped characters inside a value is
- undefined and it should not be used. A new scope can be opened with curly
- braces, like:</para>
+ undefined and it should not be used. An option name may include
+ alphanumerical characters and the "/-:._+" characters. A new scope can
+ be opened with curly braces, like:</para>
<informalexample><programlisting>
APT {
@@ -329,7 +330,7 @@ DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt";};
as specified in <filename>/etc/fstab</filename>. It is possible to provide
alternate mount and unmount commands if your mount point cannot be listed
in the fstab (such as an SMB mount and old mount packages). The syntax
- is to put <literallayout>"/cdrom/"::Mount "foo";</literallayout> within
+ is to put <literallayout>/cdrom/::Mount "foo";</literallayout> within
the cdrom block. It is important to have the trailing slash. Unmount
commands can be specified using UMount.</para></listitem>
</varlistentry>