[Aptitude-devel] Bug#931357: aptitude --help-search-terms quicker
積丹尼 Dan Jacobson
jidanni at jidanni.org
Tue Jul 2 19:52:44 BST 2019
Package: aptitude
Version: 0.8.11-7
Severity: wishlist
Let's say the user is interested in the "Quick guide to search terms".
OK, let's see how Quick he can see it.
Each time first he does "man aptitude".
search Searches for packages matching one of the patterns supplied on
the command line. All packages which match any of the given
patterns will be displayed; for instance, “aptitude search
'~N' edit” will list all “new” packages and all packages
whose name contains “edit”. For more information on search
patterns, see the section “Search Patterns” in the aptitude
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
reference manual.
^^^^^^^^^^^^^^^^^
And indeed,
SEE ALSO
/usr/share/doc/aptitude/html/<lang>/index.html from the package aptitude-doc-<lang>
must be the Aptitude Reference Manual. [BUG: Say So!]
Now one cannot just click on that "URL", even in the mighty Emacs.
So after cobbling together the correct filename he eventually does
indeed get to
file:///usr/share/doc/aptitude/html/en/ch02s04s05.html
and then
file:///usr/share/doc/aptitude/html/en/ch02s04s05.html#tableSearchTermQuickGuide
Great.
However, it would be also great / Quicker if he could do
$ aptitude help search terms
or
$ aptitude --help-search-terms
etc.
P.S., unify:
$ man aptitude|col -b|grep -c 'aptitude reference manual'
16
$ man aptitude|col -b|grep -c 'aptitude reference guide'
1
Also maybe capitalize.
P.S., in the manual remember to mention how to search for forbid-version packages,
# aptitude search ~ahold
# aptitude search ~aforbid-version
E: Unknown action type: forbid-version
or mention one must use something like
# aptitude search ~U|grep ^.F
More information about the Aptitude-devel
mailing list