From 64fc89b6ec0928f7bbd7011d6a8dc325d63f4fe5 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 19 Nov 2012 23:02:59 +0100 Subject: 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 . --- doc/guix.texi | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc') 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 -- cgit v1.2.3