From: Arch Librarian Date: Mon, 20 Sep 2004 17:04:03 +0000 (+0000) Subject: * Correctly implement -n as a synonym for --names-only ... X-Git-Tag: 0.7.24ubuntu1~598 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/fe6fc1c2b56bc2d07ac35539cbf55a36f19c672f * 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) --- 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) --