18 lines
354 B
C
18 lines
354 B
C
#include <lib.h>
|
|
#include <daemons.h>
|
|
|
|
inherit LIB_DAEMON;
|
|
|
|
int cmd() {
|
|
int bugs = BUGS_D->BugCheck();
|
|
write("Unresolved bug reports: "+bugs);
|
|
return 1;
|
|
}
|
|
|
|
string GetHelp() {
|
|
return ("Syntax: bugs\n\n"
|
|
"Returns the number of unresolved bug reports in the bug "
|
|
"tracking system.\n"
|
|
"See also: bug");
|
|
}
|