From acc084669c01b254f2a12f9f43a8c1b5d16094c1 Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov Date: Mon, 28 Jan 2013 06:29:10 +0000 Subject: 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. --- doc/guix.texi | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc') diff --git a/doc/guix.texi b/doc/guix.texi index 52c992044b..410e6fa37c 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -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 -- cgit v1.2.3