Procházet zdrojové kódy

add --target-release option (Closes: #115520)

David Kalnischkies před 16 roky
rodič
revize
f44a05ff64
2 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 2 0
      cmdline/apt-cache.cc
  2. 1 0
      debian/changelog

+ 2 - 0
cmdline/apt-cache.cc

@@ -1831,6 +1831,8 @@ int main(int argc,const char *argv[])					/*{{{*/
       {'n',"names-only","APT::Cache::NamesOnly",0},
       {'n',"names-only","APT::Cache::NamesOnly",0},
       {0,"all-names","APT::Cache::AllNames",0},
       {0,"all-names","APT::Cache::AllNames",0},
       {0,"recurse","APT::Cache::RecurseDepends",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},
       {'c',"config-file",0,CommandLine::ConfigFile},
       {'o',"option",0,CommandLine::ArbItem},
       {'o',"option",0,CommandLine::ArbItem},
       {0,"installed","APT::Cache::Installed",0},
       {0,"installed","APT::Cache::Installed",0},

+ 1 - 0
debian/changelog

@@ -33,6 +33,7 @@ apt (0.7.26~exp6) UNRELEASED; urgency=low
   * cmdline/apt-cache.cc:
   * cmdline/apt-cache.cc:
     - make the search multiarch compatible by using GrpIterator instead
     - make the search multiarch compatible by using GrpIterator instead
     - use pkgCacheFile and the new CacheSets all over the place
     - use pkgCacheFile and the new CacheSets all over the place
+    - add --target-release option (Closes: #115520)
   * apt-pkg/cachefile.{cc,h}:
   * apt-pkg/cachefile.{cc,h}:
     - split Open() into submethods to be able to build only parts
     - split Open() into submethods to be able to build only parts
     - make the OpProgress optional in the Cache buildprocess
     - make the OpProgress optional in the Cache buildprocess