diff options
-rw-r--r-- | cmdline/apt-cache.cc | 8 | ||||
-rw-r--r-- | debian/changelog | 1 |
2 files changed, 5 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}, diff --git a/debian/changelog b/debian/changelog index 9207622fc..7e587de9f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -20,6 +20,7 @@ apt (0.5.15) unstable; urgency=low * Use isatty rather than ttyname for checking if stdin is a terminal. isatty has the advantage of not requiring /proc under Linux, and thus Closes: #221728 + * Correctly implement -n as a synonym for --names-only (Closes: #224515) -- |