summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-04-22 12:29:24 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-04-22 12:29:24 +0200
commita88136062dbe189417aa0b4751449637816c8445 (patch)
tree5ad1ea4b7bc456249c356921dd86af09d85825b9 /doc
parentd280d03ac50f2b49f7c08f825dccdebf61b62c57 (diff)
* cmdline/apt-config.cc:
- make it possible to limit dump to a subtree - implement --empty and --format option for dump
Diffstat (limited to 'doc')
-rw-r--r--doc/apt-config.8.xml16
-rw-r--r--doc/apt-verbatim.ent3
2 files changed, 18 insertions, 1 deletions
diff --git a/doc/apt-config.8.xml b/doc/apt-config.8.xml
index b6fcf4bf2..94aeec059 100644
--- a/doc/apt-config.8.xml
+++ b/doc/apt-config.8.xml
@@ -85,7 +85,21 @@ eval $RES
&apt-cmdblurb;
<variablelist>
-
+ <varlistentry>
+ <term><option>--empty</option></term>
+ <listitem><para>Include options which have an empty value. This is the default, so
+ use --no-empty to remove them from the output.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>--format '<replaceable>&percnt;f &#x0022;&percnt;v&#x0022;;&percnt;n</replaceable>'</option></term>
+ <listitem><para>Defines the output of each config option. &percnt;t will be replaced with the tagname,
+ &percnt;f with the complete tagname and &percnt;v with the value of the option.
+ Use uppercase letters and the respective values will be quoted. Additionally
+ &percnt;n will be replaced by a newline, &percnt;N by a tab. A &percnt; can be
+ printed by using &percnt;&percnt;.</para></listitem>
+ </varlistentry>
+
&apt-commonoptions;
</variablelist>
diff --git a/doc/apt-verbatim.ent b/doc/apt-verbatim.ent
index ad4554e2f..3846c17e3 100644
--- a/doc/apt-verbatim.ent
+++ b/doc/apt-verbatim.ent
@@ -269,8 +269,11 @@
&synopsis-help;
</group>
</cmdsynopsis></refsynopsisdiv>">
+<!--<arg><option>- -format '<replaceable>&#37;f \"&#37;v\";&#37;n</replaceable>'</option></arg>-->
<!ENTITY synopsis-command-apt-config "<refsynopsisdiv><cmdsynopsis>
<command>apt-config</command>
+ <arg><option>--empty</option></arg>
+ <arg><option>--format '<replaceable>&percnt;f &#x0022;&percnt;v&#x0022;;&percnt;n</replaceable>'</option></arg>
&synopsis-arg-option;
&synopsis-arg-config;
<group choice='req'>