From: Arch Librarian Date: Mon, 20 Sep 2004 16:59:50 +0000 (+0000) Subject: Add -n synonym for --names-only for apt-cache. X-Git-Tag: 0.7.24ubuntu1~871 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/03eb0ddc417b39d9cb274388cd9161131d553105 Add -n synonym for --names-only for apt-cache. Author: doogie Date: 2002-11-09 22:47:19 GMT Add -n synonym for --names-only for apt-cache. --- diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc index 6acb62cc6..640775eef 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.58 2002/03/26 07:38:58 jgg Exp $ +// $Id: apt-cache.cc,v 1.59 2002/11/09 22:47:19 doogie Exp $ /* ###################################################################### apt-cache - Manages the cache files @@ -1316,7 +1316,7 @@ int main(int argc,const char *argv[]) {'g',"generate","APT::Cache::Generate",0}, {'a',"all-versions","APT::Cache::AllVersions",0}, {0,"names-only","APT::Cache::NamesOnly",0}, - {0,"all-names","APT::Cache::AllNames",0}, + {'n',"all-names","APT::Cache::AllNames",0}, {0,"recurse","APT::Cache::RecurseDepends",0}, {'c',"config-file",0,CommandLine::ConfigFile}, {'o',"option",0,CommandLine::ArbItem}, diff --git a/debian/changelog b/debian/changelog index 6e209615c..f818a3961 100644 --- a/debian/changelog +++ b/debian/changelog @@ -60,6 +60,7 @@ apt (0.5.5) unstable; urgency=low #135021. * apt-extracttemplates now prepends the package name when extracting files. Closes: #132776 + * Add -n synonym for --names-only for apt-cache. Closes: #130689 -- Jason Gunthorpe Sun, 15 Sep 2002 17:16:59 -0600 diff --git a/doc/apt-cache.8.sgml b/doc/apt-cache.8.sgml index e3210c1e7..ef923579d 100644 --- a/doc/apt-cache.8.sgml +++ b/doc/apt-cache.8.sgml @@ -24,7 +24,7 @@ apt-cache - + @@ -319,7 +319,7 @@ Reverse Provides: Configuration Item: -