guix system: Add the 'list-generations' command.
authorLudovic Courtès <ludo@gnu.org>
Mon, 26 Oct 2015 20:24:26 +0000 (21:24 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 26 Oct 2015 23:01:20 +0000 (00:01 +0100)
commit65797bfffd1b4d9126f11ffb6b59a1a7a18d48f0
treebf47bd6fcbd04f5902dce3f5df27fc26236cd317
parent5b516ef3696270f21327d9f63a9ccb4f1b83f346
guix system: Add the 'list-generations' command.

* guix/scripts/system.scm (display-system-generation, list-generations):
  New procedures.
  (process-action): Clarify docstring.
  (process-command): New procedure.
  (guix-system)[parse-sub-command]: Add 'list-generations'
  Call 'process-command' instead of 'process-action'.
* doc/guix.texi (Using the Configuration System): Mention generations,
  rollback, and 'list-generations'.
  (Invoking guix system): Document 'list-generations'.
doc/guix.texi
guix/scripts/system.scm