diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:59:50 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:59:50 +0000 |
commit | 03eb0ddc417b39d9cb274388cd9161131d553105 (patch) | |
tree | e4b9f9fe7812c94aeafeecc828bb57ca1f7d0f22 | |
parent | 259ca5969a2efbb1a541c7a9e9391531689cd865 (diff) |
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.
-rw-r--r-- | cmdline/apt-cache.cc | 4 | ||||
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | doc/apt-cache.8.sgml | 4 |
3 files changed, 5 insertions, 4 deletions
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 <jgg@debian.org> 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 @@ <refsynopsisdiv> <cmdsynopsis> <command>apt-cache</> - <arg><option>-hvs</></arg> + <arg><option>-hvsn</></arg> <arg><option>-o=<replaceable/config string/</></arg> <arg><option>-c=<replaceable/file/</></arg> <group choice=req> @@ -319,7 +319,7 @@ Reverse Provides: Configuration Item: <literal/APT::Cache::Generate/. </VarListEntry> - <VarListEntry><term><option/--names-only/</> + <VarListEntry><term><option/--names-only/</><term><options/-n/</> <ListItem><Para> Only search on the package names, not the long description. Configuration Item: <literal/APT::Cache::NamesOnly/. |