summaryrefslogtreecommitdiff
path: root/apt-private
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 /apt-private
parent963efeff8778afacef35f69c181d234e0a27d5d3 (diff)
Add a --comment option to record Comment: in history
Suggested-by: mhoye on IRC
Diffstat (limited to 'apt-private')
-rw-r--r--apt-private/private-cmndline.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-private/private-cmndline.cc b/apt-private/private-cmndline.cc
index 3a8cc6b1d..5d4eeb5cb 100644
--- a/apt-private/private-cmndline.cc
+++ b/apt-private/private-cmndline.cc
@@ -192,6 +192,7 @@ static bool addArgumentsAPTGet(std::vector<CommandLine::Args> &Args, char const
addArg(0, "solver", "APT::Solver", CommandLine::HasArg);
addArg(0, "strict-pinning", "APT::Solver::Strict-Pinning", 0);
addArg(0, "planner", "APT::Planner", CommandLine::HasArg);
+ addArg(0, "comment", "APT::History::Comment", CommandLine::HasArg);
addArg('U', "update", "APT::Update", 0);
if (CmdMatches("upgrade"))
{