Author: doogie
Date: 2002-11-09 22:47:19 GMT
Add -n synonym for --names-only for apt-cache.
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
// -*- 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
/* ######################################################################
apt-cache - Manages the cache files
{'g',"generate","APT::Cache::Generate",0},
{'a',"all-versions","APT::Cache::AllVersions",0},
{0,"names-only","APT::Cache::NamesOnly",0},
{'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},
{0,"recurse","APT::Cache::RecurseDepends",0},
{'c',"config-file",0,CommandLine::ConfigFile},
{'o',"option",0,CommandLine::ArbItem},
#135021.
* apt-extracttemplates now prepends the package name when extracting
files. Closes: #132776
#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
-- Jason Gunthorpe <jgg@debian.org> Sun, 15 Sep 2002 17:16:59 -0600
<refsynopsisdiv>
<cmdsynopsis>
<command>apt-cache</>
<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>
<arg><option>-o=<replaceable/config string/</></arg>
<arg><option>-c=<replaceable/file/</></arg>
<group choice=req>
Configuration Item: <literal/APT::Cache::Generate/.
</VarListEntry>
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/.
<ListItem><Para>
Only search on the package names, not the long description.
Configuration Item: <literal/APT::Cache::NamesOnly/.