summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2024-11-18 20:07:02 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2024-11-18 20:15:08 +0100
commit1c4fa81cc398e21868ad237509f1ea8e772d76de (patch)
tree9376185fca5ef2a2c794a2d976d2e559f7b05b07 /doc
parent963efeff8778afacef35f69c181d234e0a27d5d3 (diff)
Add a --comment option to record Comment: in history
Suggested-by: mhoye on IRC
Diffstat (limited to 'doc')
-rw-r--r--doc/apt-get.8.xml5
-rw-r--r--doc/examples/configure-index2
2 files changed, 7 insertions, 0 deletions
diff --git a/doc/apt-get.8.xml b/doc/apt-get.8.xml
index f1089f5d6..7d0ccece7 100644
--- a/doc/apt-get.8.xml
+++ b/doc/apt-get.8.xml
@@ -416,6 +416,11 @@
Configuration Item: <literal>APT::Get::List-Columns</literal>.</para></listitem>
</varlistentry>
+ <varlistentry><term><option>--comment</option></term>
+ <listitem><para>Add the given value to the <literal>Comment:</literal> field in history.log
+ Configuration Item: <literal>APT::History::Comment</literal>.</para></listitem>
+ </varlistentry>
+
<varlistentry><term><option>-a</option></term>
<term><option>--host-architecture</option></term>
<listitem><para>This option controls the architecture packages are built for
diff --git a/doc/examples/configure-index b/doc/examples/configure-index
index feadca8d2..6723a48da 100644
--- a/doc/examples/configure-index
+++ b/doc/examples/configure-index
@@ -903,3 +903,5 @@ APT::Color::Show::Package "<STRING>";
update-manager::always-include-phased-updates "<BOOL>";
update-manager::never-include-phased-updates "<BOOL>";
+
+apt::history::comment "<STRING>";