guix gc: Add '--list-roots'.
authorLudovic Courtès <ludo@gnu.org>
Sat, 6 Apr 2019 20:29:18 +0000 (22:29 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 10 Apr 2019 15:09:47 +0000 (17:09 +0200)
commitbacf980c76c94e7bda86220ca4bf662d0e34a45a
treecc5a7f09074b6b9d26e017d1a6d3c532722968cd
parent72eda0624be89ed18302fd7d7f22976071ab020c
guix gc: Add '--list-roots'.

* guix/scripts/gc.scm (show-help, %options): Add '--list-roots'.
(guix-gc)[list-roots]: New procedure.
Handle '--list-roots'.
* tests/guix-gc.sh: Test it.
* doc/guix.texi (Invoking guix gc): Document it.
doc/guix.texi
guix/scripts/gc.scm
tests/guix-gc.sh