From c6dbd6be7b55bd166f0da5d675cb025b1dc16a1d Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Fri, 6 May 2022 18:15:19 +0200 Subject: Do not accept arguments for apt-cache dotty, xvcg These commands do not actually interpret the same arguments as depends, or any own ones for that matter. Gbp-Dch: full --- apt-private/private-cmndline.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 &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); -- cgit v1.2.3-70-g09d2