aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNikita Karetnikov <nikita@karetnikov.org>2013-01-28 06:29:10 +0000
committerNikita Karetnikov <nikita@karetnikov.org>2013-01-28 06:47:49 +0000
commitacc084669c01b254f2a12f9f43a8c1b5d16094c1 (patch)
tree574210f9ef88baceb5170aac27ed0e6258a877ec /doc
parentc9ee048595e94752b1932a01f95882524d9f0b36 (diff)
downloadguix-acc084669c01b254f2a12f9f43a8c1b5d16094c1.tar
guix-acc084669c01b254f2a12f9f43a8c1b5d16094c1.tar.gz
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.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi9
1 files changed, 9 insertions, 0 deletions
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