summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2020-05-16 19:57:18 +0200
committerLudovic Courtès <ludo@gnu.org>2020-05-18 15:08:58 +0200
commit9a27d84b7a22188d3029199ad3f6dd3b8eccae70 (patch)
tree6aca3c26cdb82e23a21ae914292c51bff57638a6 /doc
parente5b495c18fb9ba3858b75c25659be65f7bd9b0da (diff)
downloadguix-9a27d84b7a22188d3029199ad3f6dd3b8eccae70.tar.gz
guix describe: Add '--list-formats'
* guix/scripts/describe.scm (%available-formats): New variable.
(list-formats): New procedure.
(%options, show-help): Add --list-formats
* doc/guix.texi: Add --list-formats

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 34acc910f0..eef5b703fe 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -4471,6 +4471,9 @@ produce a list of channel specifications in JSON format;
 produce a list of channel specifications in Recutils format.
 @end table
 
+@item --list-formats
+Display available formats for @option{--format} option.
+
 @item --profile=@var{profile}
 @itemx -p @var{profile}
 Display information about @var{profile}.