bugs.c

ds3.0/lib/cmds/creators/bugs.c · 354 B

From the archive ds3.0.zip

Download the archive   « Back to the archive contents

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

Site Stats

Snippets: 1791
Codebases: 571