#include #include 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"); }