shepherd: make error message for service not found 'smarter'

  • Open
  • quality assurance status badge
Details
2 participants
  • ng0
  • zimoun
Owner
unassigned
Submitted by
ng0
Severity
wishlist
N
(address . bug-guix@gnu.org)
20170325123112.pvmw6a4n4iyeqypo@abyayala
This is the current displayed variant:

[user@abyayala ~]$ sudo herd ntpd stop [3/3]
Password:
herd: service 'stop' could not be found
[user@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.
Z
Z
zimoun wrote on 18 Dec 2020 21:06
control message for bug #26252
(address . control@debbugs.gnu.org)
86eejmvpyl.fsf@gmail.com
severity 26252 wishlist
quit
?