X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/01108b24506dbe2083a23b61baa0bba9451f5ee0..24b8c863b154e1bee674597ffcd818d4d959c9a1:/onak.c diff --git a/onak.c b/onak.c index e6b9287..b3cc27e 100644 --- a/onak.c +++ b/onak.c @@ -21,7 +21,6 @@ #include "charfuncs.h" #include "cleankey.h" #include "cleanup.h" -#include "config.h" #include "keydb.h" #include "keyid.h" #include "keyindex.h" @@ -32,6 +31,7 @@ #include "onak-conf.h" #include "parsekey.h" #include "photoid.h" +#include "version.h" void find_keys(char *search, uint64_t keyid, bool ishex, bool fingerprint, bool exact, bool verbose) @@ -93,7 +93,7 @@ void dump_func(void *ctx, struct openpgp_publickey *key) } void usage(void) { - puts("onak " PACKAGE_VERSION " - an OpenPGP keyserver.\n"); + puts("onak " ONAK_VERSION " - an OpenPGP keyserver.\n"); puts("Usage:\n"); puts("\tonak [options] \n"); puts("\tCommands:\n");