]> git.saurik.com Git - apt.git/commitdiff
Fix regression of "apt-cache unmet -i", thanks to Daniel Schepler (closes: #722324) 0.9.11.3
authorMichael Vogt <mvo@debian.org>
Tue, 10 Sep 2013 15:41:01 +0000 (17:41 +0200)
committerMichael Vogt <mvo@debian.org>
Tue, 10 Sep 2013 15:41:01 +0000 (17:41 +0200)
apt-private/private-cmndline.cc
debian/changelog

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;
index b13e3be9265acf37364674319b1e36d59cb1dbca..40160c303bb070aace484a016cac2b95ce68a3e8 100644 (file)
@@ -6,6 +6,8 @@ apt (0.9.11.3) unstable; urgency=low
   * fix typo (mkostemp->mkstemp)
   * Remove invalid "-f" option for apt-get check, thanks to
     Philipp Weis (closes: #721477)
+  * Fix regression of "apt-cache unmet -i", thanks to Daniel Schepler
+    (closes: #722324)
 
   [ David Kalnischkies ]
   * use FileFd in HashSum test to unbreak non-linux ports.