summaryrefslogtreecommitdiff
path: root/apt-private
diff options
context:
space:
mode:
authorRaziel Anarki <razielanarki@semmi.se>2024-10-22 12:34:43 +0000
committerJulian Andres Klode <jak@debian.org>2024-10-22 12:34:43 +0000
commit8df81647e5cd4fbabde4a498b78f1e4bdc871d3c (patch)
tree25f859dfdb1b48e624abccc54f8061f2ad081a65 /apt-private
parentfcccd7fb5ed74ae00c9d675667017d9c84838f69 (diff)
Support --target-release in `apt list`
Diffstat (limited to 'apt-private')
-rw-r--r--apt-private/private-cmndline.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-private/private-cmndline.cc b/apt-private/private-cmndline.cc
index ac792cb11..3a8cc6b1d 100644
--- a/apt-private/private-cmndline.cc
+++ b/apt-private/private-cmndline.cc
@@ -353,6 +353,8 @@ static bool addArgumentsAPT(std::vector<CommandLine::Args> &Args, char const * c
addArg(0,"manual-installed","APT::Cmd::Manual-Installed",0);
addArg('v', "verbose", "APT::Cmd::List-Include-Summary", 0);
addArg('a', "all-versions", "APT::Cmd::All-Versions", 0);
+ addArg('t', "target-release", "APT::Default-Release", CommandLine::HasArg);
+ addArg('t', "default-release", "APT::Default-Release", CommandLine::HasArg);
addArg('S', "snapshot", "APT::Snapshot", CommandLine::HasArg);
}
else if (CmdMatches("show") || CmdMatches("info"))