]> git.saurik.com Git - apt.git/commitdiff
show version and type in "apt (r)depends"
authorDavid Kalnischkies <david@kalnischkies.de>
Mon, 26 Oct 2015 19:41:03 +0000 (20:41 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Wed, 4 Nov 2015 17:04:04 +0000 (18:04 +0100)
We can't for compatibility reasons in apt-cache, but apt can.

Closes: 218995
apt-private/private-cmndline.cc

index 348b698cadf7a4f3deb9479b42b1c31d0ad19480..4e80314f1143bb74ebafd72ba3ad4aeafababb88 100644 (file)
@@ -391,6 +391,8 @@ static void BinarySpecificConfiguration(char const * const Binary)  /*{{{*/
       _config->CndSet("Binary::apt::APT::Cache::AllVersions", false);
       _config->CndSet("Binary::apt::APT::Cache::ShowVirtuals", true);
       _config->CndSet("Binary::apt::APT::Cache::Search::Version", 2);
+      _config->CndSet("Binary::apt::APT::Cache::ShowDependencyType", true);
+      _config->CndSet("Binary::apt::APT::Cache::ShowVersion", true);
       _config->CndSet("Binary::apt::APT::Get::Upgrade-Allow-New", true);
       _config->CndSet("Binary::apt::APT::Cmd::Show-Update-Stats", true);
       _config->CndSet("Binary::apt::DPkg::Progress-Fancy", true);