[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[shepherd] 06/09: herd: Really match the ‘root’ service when reporting a
From: |
Ludovic Courtès |
Subject: |
[shepherd] 06/09: herd: Really match the ‘root’ service when reporting a typo. |
Date: |
Sun, 6 Oct 2024 16:26:36 -0400 (EDT) |
civodul pushed a commit to branch devel
in repository shepherd.
commit 43537fad10ae803cd937536fa0ab90ba848f50ac
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sun Oct 6 15:22:54 2024 +0200
herd: Really match the ‘root’ service when reporting a typo.
* modules/shepherd/scripts/herd.scm (run-command): Fix typo.
---
modules/shepherd/scripts/herd.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/shepherd/scripts/herd.scm
b/modules/shepherd/scripts/herd.scm
index 219fc6f..3af4b17 100644
--- a/modules/shepherd/scripts/herd.scm
+++ b/modules/shepherd/scripts/herd.scm
@@ -873,8 +873,8 @@ service but display a generic overview rather than
information about
((_ (or 'start 'stop 'status 'doc))
(report-hint (l10n "Did you mean 'herd ~a ~a'?")
service action))
- ((root (or 'help 'halt 'power-off 'load 'eval 'unload 'reload
- 'daemonize 'restart))
+ (('root (or 'help 'halt 'power-off 'load 'eval 'unload 'reload
+ 'daemonize 'restart))
(report-hint (l10n "Did you mean 'herd ~a ~a'?")
service action))
((_ _) *unspecified*))
- [shepherd] branch devel updated (6a6dcb9 -> b2a8be1), Ludovic Courtès, 2024/10/06
- [shepherd] 02/09: args: Factorize general help URL; use https., Ludovic Courtès, 2024/10/06
- [shepherd] 03/09: support: Generalize message reports., Ludovic Courtès, 2024/10/06
- [shepherd] 09/09: service: ‘action’ checks the type of its arguments., Ludovic Courtès, 2024/10/06
- [shepherd] 04/09: support: Add ‘report-hint’., Ludovic Courtès, 2024/10/06
- [shepherd] 07/09: herd: Give a hint about ‘herd doc SERVICE list-actions’., Ludovic Courtès, 2024/10/06
- [shepherd] 01/09: herd: Fix typo in ‘--help’ summary., Ludovic Courtès, 2024/10/06
- [shepherd] 05/09: herd: Use ‘report-hint’ where appropriate., Ludovic Courtès, 2024/10/06
- [shepherd] 06/09: herd: Really match the ‘root’ service when reporting a typo.,
Ludovic Courtès <=
- [shepherd] 08/09: shepherd: ‘herd doc SERVICE list-actions’ displays documentation., Ludovic Courtès, 2024/10/06