summaryrefslogtreecommitdiff
path: root/cmdline/apt-cache.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 17:04:03 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 17:04:03 +0000
commitfe6fc1c2b56bc2d07ac35539cbf55a36f19c672f (patch)
tree543b104806a2c21045c6d6452e74bdc5fd119e0d /cmdline/apt-cache.cc
parenta3f6ea20fbe26cb53f420c069c8f59e89f94bcfa (diff)
downloadapt-fe6fc1c2b56bc2d07ac35539cbf55a36f19c672f.tar.gz
* Correctly implement -n as a synonym for --names-only ...
Author: mdz Date: 2003-12-20 22:56:14 GMT * Correctly implement -n as a synonym for --names-only (Closes: #224515)
Diffstat (limited to 'cmdline/apt-cache.cc')
-rw-r--r--cmdline/apt-cache.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc
index 1933f60c6..00a2c6883 100644
--- a/cmdline/apt-cache.cc
+++ b/cmdline/apt-cache.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: apt-cache.cc,v 1.68 2003/11/19 23:50:51 mdz Exp $
+// $Id: apt-cache.cc,v 1.69 2003/12/20 22:56:14 mdz Exp $
/* ######################################################################
apt-cache - Manages the cache files
@@ -1645,12 +1645,12 @@ int main(int argc,const char *argv[])
{'f',"full","APT::Cache::ShowFull",0},
{'g',"generate","APT::Cache::Generate",0},
{'a',"all-versions","APT::Cache::AllVersions",0},
- {0,"names-only","APT::Cache::NamesOnly",0},
- {'n',"all-names","APT::Cache::AllNames",0},
+ {'n',"names-only","APT::Cache::NamesOnly",0},
+ {0,"all-names","APT::Cache::AllNames",0},
{0,"recurse","APT::Cache::RecurseDepends",0},
{'c',"config-file",0,CommandLine::ConfigFile},
{'o',"option",0,CommandLine::ArbItem},
- {'n',"installed","APT::Cache::Installed",0},
+ {0,"installed","APT::Cache::Installed",0},
{0,0,0,0}};
CommandLine::Dispatch CmdsA[] = {{"help",&ShowHelp},
{"add",&DoAdd},