unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#26252: shepherd: make error message for service not found 'smarter'
@ 2017-03-25 12:31 ng0
  0 siblings, 0 replies; only message in thread
From: ng0 @ 2017-03-25 12:31 UTC (permalink / raw)
  To: 26252

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-25 12:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-25 12:31 bug#26252: shepherd: make error message for service not found 'smarter' ng0

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).