Cyril Roelandt <[email protected]> skribis:
> * doc/guix.texi: Update the documentation.
> * guix/scripts/package.scm: Add a "show" option.
> * tests/guix-package.sh: Add a test for the "show" option.
[...]
> +@item --show=@var{package}
> +Show details about a given package in @code{recutils} format (@pxref{Top, GNU
Rather: “Show details about @var{package}, taken from the list of
available packages, in ...” (to make it clear that it’s not from the
list of installed packages.)
> --- a/tests/guix-package.sh
> +++ b/tests/guix-package.sh
> @@ -176,6 +176,9 @@ then false; else true; fi
> # Check whether `--list-available' returns something sensible.
> guix package -p "$profile" -A 'gui.*e' | grep guile
>
> +# Check whether `--show' returns something sensible.
> +guix package -p "$profile" --show=guile | grep "^Package: guile"
‘-p "$profile"’ can be omitted here.
OK to push with these changes, thanks!
Ludo’.