]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-cmndline.cc
Fix regression of "apt-cache unmet -i", thanks to Daniel Schepler (closes: #722324)
[apt.git] / apt-private / private-cmndline.cc
index 8902f07d5970a2416a4a15930990f120168538d5..e8a21cb0cc07a0654f681d23d34bd70f43b83bcb 100644 (file)
@@ -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;