#include "armor.h"
#include "charfuncs.h"
#include "cleankey.h"
+#include "cleanup.h"
+#include "config.h"
#include "keydb.h"
#include "keyid.h"
#include "keyindex.h"
}
void usage(void) {
- puts("onak " VERSION " - an OpenPGP keyserver.\n");
+ puts("onak " PACKAGE_VERSION " - an OpenPGP keyserver.\n");
puts("Usage:\n");
puts("\tonak [options] <command> <parameters>\n");
puts("\tCommands:\n");
readconfig(configfile);
initlogthing("onak", config.logfile);
+ catchsignals();
if ((argc - optind) < 1) {
usage();