summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2022-05-06 16:51:05 +0000
committerJulian Andres Klode <jak@debian.org>2022-05-06 16:51:05 +0000
commit4fe52f98c7d12bc8fb07411b1c0594a032eadb3a (patch)
tree320e88847e52153c6f649d08c159e84b786d1386
parent837d145b6b3ff796f8b333d36007628139c8edd2 (diff)
parentc6dbd6be7b55bd166f0da5d675cb025b1dc16a1d (diff)
Merge branch 'pu/invalid-dotty-options' into 'main'
Do not accept arguments for apt-cache dotty, xvcg See merge request apt-team/apt!237
-rw-r--r--apt-private/private-cmndline.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-private/private-cmndline.cc b/apt-private/private-cmndline.cc
index 5cb282c9e..e9af3a8c2 100644
--- a/apt-private/private-cmndline.cc
+++ b/apt-private/private-cmndline.cc
@@ -39,7 +39,7 @@ static bool CmdMatches_fn(char const *const Cmd, char const *const Match, Tail..
static bool addArgumentsAPTCache(std::vector<CommandLine::Args> &Args, char const * const Cmd)/*{{{*/
{
- if (CmdMatches("depends", "rdepends", "xvcg", "dotty"))
+ if (CmdMatches("depends", "rdepends"))
{
addArg('i', "important", "APT::Cache::Important", 0);
addArg(0, "installed", "APT::Cache::Installed", 0);