Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Daemon-Control CPAN distribution.

Report information
The Basics
Id: 79698
Status: open
Priority: 0/
Queue: Daemon-Control

People
Owner: Nobody in particular
Requestors: WESAL [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Usage error has surplus information
Hi there, I feel the error for incorrect usage is a little strict and produces unnecessary output. $ ./bin/myapp.ctl Must be called with an action [start|stop|restart|status|show_warnings] at /var/home/alister/perl5/lib/perl5/Daemon/Control.pm line 421. # Daemon/Control.pm:421 - die "Must be called with an action [start|stop|restart|status|show_warnings]"; + die $0. " must be called with an action [start|stop|restart|status|show_warnings]\n"; Produces much nicer ouput. ./bin/webapp.ctl must be called with an action [start|stop|restart|status|show_warnings] Cheers,