summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2022-05-06 18:15:19 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2022-05-06 18:16:35 +0200
commitc6dbd6be7b55bd166f0da5d675cb025b1dc16a1d (patch)
tree11fd9cfed8863b34969b9c71eb8072336bf2198c
parent72782263dc1e2f65a1ef02f490d897abdcc9885d (diff)
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
-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);