summaryrefslogtreecommitdiff
path: root/apt-private
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-09-10 17:41:01 +0200
committerMichael Vogt <mvo@debian.org>2013-09-10 17:41:01 +0200
commit58c2833fed05dd044a4a937271fb6a8d639fa863 (patch)
tree8e11095f61ec9827a986eac3f1dc4078db28038d /apt-private
parentbf088e52821828a952cb1c573bbe55c49de11b68 (diff)
Fix regression of "apt-cache unmet -i", thanks to Daniel Schepler (closes: #722324)
Diffstat (limited to 'apt-private')
-rw-r--r--apt-private/private-cmndline.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/apt-private/private-cmndline.cc b/apt-private/private-cmndline.cc
index 8902f07d5..e8a21cb0c 100644
--- a/apt-private/private-cmndline.cc
+++ b/apt-private/private-cmndline.cc
@@ -62,8 +62,12 @@ bool addArgumentsAPTCache(std::vector<CommandLine::Args> &Args, char const * con
{
addArg(0, "all-names", "APT::Cache::AllNames", 0);
}
+ else if (CmdMatches("unmet"))
+ {
+ addArg('i', "important", "APT::Cache::Important", 0);
+ }
else if (CmdMatches("gencaches", "showsrc", "showpkg", "stats", "dump",
- "dumpavail", "unmet", "showauto", "policy", "madison"))
+ "dumpavail", "showauto", "policy", "madison"))
;
else
return false;