guix/doc
John Soo 58be9e0bf1
processes: Add '--format' and the "normalized" format.
* guix/scripts/processes.scm (lock->recutils): New procedure.
(daemon-session->recutils): Use it.
(daemon-sessions->recutils, session-key->recutils)
(session-scalars->normalized-record)
(child-process->normalized-record)
(daemon-sessions->normalized-record): New procedures.
(session-rec-type, lock-rec-type, child-process-rec-type)
(%available-formats): New variables.
(list-formats): New procedure.
(%options, show-help): Add '--format'.
(%default-options): New variable.
(guix-processes): Use 'parse-command-line' instead of 'args-fold*'.
Honor the 'format' value in OPTIONS.
* doc/guix.texi (Invoking guix processes): Document '--format'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-11-29 23:55:57 +01:00
..
images doc: Update 'Bootstrapping' for further binary seed reduction. 2020-05-22 16:11:52 +02:00
build.scm doc: Cookbook links to /manual/devel, not /manual. 2020-10-21 19:19:33 +02:00
contributing.texi maint: update-guix-package: Optionally add sources to store. 2020-11-12 09:23:27 -05:00
environment-gdb.scm
fdl-1.3.texi
guix-cookbook.texi doc: cookbook: Balance parens in custom kernel examples. 2020-10-17 22:40:18 +02:00
guix.texi processes: Add '--format' and the "normalized" format. 2020-11-29 23:55:57 +01:00
htmlxref.cnf
local.mk doc: Fix xref translation macro. 2020-10-27 00:40:24 +01:00
package-hello.json doc: Document building and installing from JSON files. 2020-04-16 23:41:52 +02:00
package-hello.scm