diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-11-19 23:02:59 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-11-19 23:04:38 +0100 |
commit | 64fc89b6ec0928f7bbd7011d6a8dc325d63f4fe5 (patch) | |
tree | 131fad75147e00ae73c7201f557df1fdd540011a /doc/guix.texi | |
parent | ba326ce41b5784f3acb99d4beae5ffc455d6a27e (diff) | |
download | guix-64fc89b6ec0928f7bbd7011d6a8dc325d63f4fe5.tar guix-64fc89b6ec0928f7bbd7011d6a8dc325d63f4fe5.tar.gz |
guix-package: Add `--list-available'.
* guix-package.in (show-help, %options): Add `--list-available'.
(guix-package)[process-query]: Add support for `--list-available'.
* doc/guix.texi (Invoking guix-package): Document it.
* tests/guix-package.sh: Add test.
* guix/ui.scm (location->string): New procedure.
* guix/utils.scm: Export <location>.
Diffstat (limited to 'doc/guix.texi')
-rw-r--r-- | doc/guix.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index a93510ee23..d09bbf1acf 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -257,6 +257,15 @@ is installed (for instance, @code{out} for the default output, @code{include} for its headers, etc.), and the path of this package in the store. +@item --list-available[=@var{regexp}] +@itemx -A [@var{regexp}] +List packages currently available in the software distribution. When +@var{regexp} is specified, list only installed packages whose name +matches @var{regexp}. + +For each package, print the following items separated by tabs: its name, +its version string, and the source location of its definition. + @end table |