Subject: | "Status" option seems confused. |
Date: | Wed, 13 Feb 2013 12:07:11 +1100 |
To: | bug-Daemon-Generic [...] rt.cpan.org |
From: | Clinton Mead <clintonmead [...] gmail.com> |
The "status" option isn't documented as valid, but clearly in the code it
seems to be valid on line 125 which says:
} elsif ($do eq 'status') {
but then on line 162 it says:
if ($do eq 'status') {
print "Unused\n";
exit 3;
}
which seems to imply "status" is unused.
Could the status option be documented and simply check if the daemon is up
or not? I see no need for it to check the config file.