* Jonathan McDowell <noodles@earth.li>
*
* Copyright 2002 Project Purple
- *
- * $Id: onak.c,v 1.22 2004/05/31 14:16:49 noodles Exp $
*/
#include <getopt.h>
#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();