summaryrefslogtreecommitdiff
path: root/cmdline/apt-cache.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-06-05 12:54:30 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-06-05 12:54:30 +0200
commitf44a05ff641523ab8eae84166e9b1a9dcf1b366f (patch)
treeada2467a11fbcdc0728c88755c640f474ff51e26 /cmdline/apt-cache.cc
parent0588779fb2139b70f369ccac20fcc0f3a3e9ed47 (diff)
add --target-release option (Closes: #115520)
Diffstat (limited to 'cmdline/apt-cache.cc')
-rw-r--r--cmdline/apt-cache.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc
index b0e705108..005721ddf 100644
--- a/cmdline/apt-cache.cc
+++ b/cmdline/apt-cache.cc
@@ -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},