mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
guix-package: Add '--search'.
* guix-package.in (find-packages-by-description): New procedure. (show-help, %options): Add '--search'. (guix-package)[process-query]: Add support for '--search'. * doc/guix.texi (Invoking guix-package): Document it. * tests/guix-package.sh: Add tests.
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
@title{GNU Guix Reference Manual}
|
||||
@subtitle{Using the GNU Guix Functional Package Manager}
|
||||
@author Ludovic Courtès
|
||||
@author Nikita Karetnikov
|
||||
|
||||
@page
|
||||
@vskip 0pt plus 1filll
|
||||
@@ -542,6 +543,14 @@ availability of packages:
|
||||
|
||||
@table @option
|
||||
|
||||
@item --search=@var{regexp}
|
||||
@itemx -s @var{regexp}
|
||||
List the available packages whose synopsis or description matches
|
||||
@var{regexp}.
|
||||
|
||||
For each package, print the following items, separated by tabs: its
|
||||
name, version, and the source location of its definition.
|
||||
|
||||
@item --list-installed[=@var{regexp}]
|
||||
@itemx -I [@var{regexp}]
|
||||
List currently installed packages in the specified profile. When
|
||||
|
||||
Reference in New Issue
Block a user