diff options
author | Oleg Pykhalov <go.wigust@gmail.com> | 2018-11-21 16:47:43 +0300 |
---|---|---|
committer | Oleg Pykhalov <go.wigust@gmail.com> | 2018-11-22 21:17:54 +0300 |
commit | 81a40ee0cb925bc39e3044bddcfdd38ddb04f04d (patch) | |
tree | 725d064c1c4af2af90da75bbb3fd55aad9db750c /doc/guix.texi | |
parent | 8548f995494d8d6358e6a8d7bc3b3bb5a0cbecb5 (diff) | |
download | guix-81a40ee0cb925bc39e3044bddcfdd38ddb04f04d.tar.gz |
describe: Add json format.
* guix/scripts/describe.scm (channel->json): New procedure. (display-checkout-info, display-profile-info): Use this. (%options): Add 'json' option. * doc/guix.texi (Invoking guix describe): Document this.
Diffstat (limited to 'doc/guix.texi')
-rw-r--r-- | doc/guix.texi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 082e81bf7c..3413eb30f2 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -3273,7 +3273,10 @@ produce human-readable output; @item channels produce a list of channel specifications that can be passed to @command{guix pull -C} or installed as @file{~/.config/guix/channels.scm} (@pxref{Invoking -guix pull}). +guix pull}); +@item json +@cindex JSON +produce a list of channel specifications in JSON format. @end table @item --profile=@var{profile} |