aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-09-24 17:50:48 +0200
committerLudovic Courtès <ludo@gnu.org>2019-09-26 11:43:26 +0200
commit3972dc5d43ea824ee4ab78592e759f62ce90bf6a (patch)
tree8d3e77fa1ea038735b327ecc9b2b959f6cefdb3f /doc
parent71339070a9c38dc5502697edacb11adbc30303eb (diff)
downloadpatches-3972dc5d43ea824ee4ab78592e759f62ce90bf6a.tar
patches-3972dc5d43ea824ee4ab78592e759f62ce90bf6a.tar.gz
guix package: Add '--list-profiles'.
* guix/scripts/package.scm (show-help, %options): Add '--list-profiles'. (process-query): Honor it. * tests/guix-package.sh: Add test.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 4ffffcdc81..14c4514b31 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -2933,6 +2933,19 @@ siblings that point to specific generations:
$ rm ~/code/my-profile ~/code/my-profile-*-link
@end example
+@item --list-profiles
+List all the user's profiles:
+
+@example
+$ guix package --list-profiles
+/home/charlie/.guix-profile
+/home/charlie/code/my-profile
+/home/charlie/code/devel-profile
+/home/charlie/tmp/test
+@end example
+
+When running as root, list all the profiles of all the users.
+
@cindex collisions, in a profile
@cindex colliding packages in profiles
@cindex profile collisions