GNU bug report logs - #26252
shepherd: make error message for service not found 'smarter'

Previous Next

Package: guix;

Reported by: ng0 <contact.ng0 <at> cryptolab.net>

Date: Sat, 25 Mar 2017 12:32:02 UTC

Severity: wishlist

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ng0 <contact.ng0 <at> cryptolab.net>
To: bug-guix <at> gnu.org
Subject: shepherd: make error message for service not found 'smarter'
Date: Sat, 25 Mar 2017 12:31:12 +0000
This is the current displayed variant:

[user <at> abyayala ~]$ sudo herd ntpd stop                                                                                                                                                                                        [3/3]
Password:
herd: service 'stop' could not be found
[user <at> abyayala ~]$ sudo herd stop ntpd
Service ntpd has been stopped.

**

A good solution could be to display the usage of the herd stop $foo.

~~
sudo herd ntpd stop
herd: service 'stop' could not be found.
Did you mean 'herd stop foo'?
~~

or have it display the $foo which was used.




This bug report was last modified 4 years and 177 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.