]> git.saurik.com Git - apt.git/commitdiff
add --target-release option (Closes: #115520)
authorDavid Kalnischkies <kalnischkies@gmail.com>
Sat, 5 Jun 2010 10:54:30 +0000 (12:54 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Sat, 5 Jun 2010 10:54:30 +0000 (12:54 +0200)
cmdline/apt-cache.cc
debian/changelog

index b0e70510851da2abfebbe153fe4c91b25f0859d8..005721ddf3b5072910d45989110fd130c00d8b13 100644 (file)
@@ -1831,6 +1831,8 @@ int main(int argc,const char *argv[])                                     /*{{{*/
       {'n',"names-only","APT::Cache::NamesOnly",0},
       {0,"all-names","APT::Cache::AllNames",0},
       {0,"recurse","APT::Cache::RecurseDepends",0},
+      {'t',"target-release","APT::Default-Release",CommandLine::HasArg},
+      {'t',"default-release","APT::Default-Release",CommandLine::HasArg},
       {'c',"config-file",0,CommandLine::ConfigFile},
       {'o',"option",0,CommandLine::ArbItem},
       {0,"installed","APT::Cache::Installed",0},
index d935d06d7567009849336a5335bae8b1ae4b127d..acdc1795f2bb5c30f67041c46fd002001a114b93 100644 (file)
@@ -33,6 +33,7 @@ apt (0.7.26~exp6) UNRELEASED; urgency=low
   * cmdline/apt-cache.cc:
     - make the search multiarch compatible by using GrpIterator instead
     - use pkgCacheFile and the new CacheSets all over the place
+    - add --target-release option (Closes: #115520)
   * apt-pkg/cachefile.{cc,h}:
     - split Open() into submethods to be able to build only parts
     - make the OpProgress optional in the Cache buildprocess