Subject: bug#36698: shepherd: list-actions not implemented

From: Leo Famulari <[email-masked]>
Date: Tue, 31 Mar 2020 16:09:19 -0400

On Tue, Mar 31, 2020 at 07:43:36PM +0000, Brice Waegeneire wrote:
> > I am curious about what actions are implemented in the system services
> > on my GuixSD install. I try something like the following for the
> > different system services and get an error:
> > 
> > jesse@piranhaplant ~$ sudo herd list-actions term-tty6
> > Password:
> > herd: service 'term-tty6' does not have an action 'list-actions'
> 
> The documentation has been updated in
> d5da712a5605a0cdaa4cf3bd64621a95a54520c0
> to clarify the use of 'list-actions' and there is an example on how to use
> it.
> 
> # herd doc term-tty6 list-actions
> term-tty6 ()
> # herd doc root list-actions
> root (help status halt power-off load eval unload reload daemonize
> persistency no-persistency cd restart)
> 
> This bug should be closed.

Here is a patch to fix a small typo in that commit.
>From 2b4785716abf2655d5be35679d5e2dfed62d27d7 Mon Sep 17 00:00:00 2001
From: Leo Famulari <[email-masked]>
Date: Tue, 31 Mar 2020 16:07:46 -0400
Subject: [PATCH] doc: Fix typo in Jump start.

* doc/shepherd.texi (Jump start): Fix typo in documentation of special action
'doc'.
---
 doc/shepherd.texi | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/doc/shepherd.texi b/doc/shepherd.texi
index 9ecd2ab..39454ba 100644
--- a/doc/shepherd.texi
+++ b/doc/shepherd.texi
@@ -289,11 +289,11 @@ to load arbitrary code into the Shepherd at runtime, like this:
 herd load shepherd ~/additional-services.scm
 @end example
 
-In the same vein the special action @code{doc} describes it service when
-called without an argument or describes a service-specific action when
-called with the action as the additional arguments.  You can even get
-the list of the service-specific actions a service provides when using
-with the additional argument @code{list-actions}.
+In the same vein the special action @code{doc} describes its service
+when called without an argument or describes a service-specific action
+when called with the action as the additional arguments.  You can even
+get the list of the service-specific actions a service provides when
+using with the additional argument @code{list-actions}.
 @example
 $ herd doc root
 The root service is used to operate on shepherd itself.
-- 
2.26.0