]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - onak.c
Configure basic onak.conf using autoconf info.
[onak.git] / onak.c
diff --git a/onak.c b/onak.c
index 1dacae627ac29508f4ffbb0491fb5191fca08141..7bd89190118f02c664a6e758ef766a74b45faf77 100644 (file)
--- a/onak.c
+++ b/onak.c
@@ -18,6 +18,7 @@
 #include "charfuncs.h"
 #include "cleankey.h"
 #include "cleanup.h"
+#include "config.h"
 #include "keydb.h"
 #include "keyid.h"
 #include "keyindex.h"
@@ -54,7 +55,7 @@ void find_keys(char *search, uint64_t keyid, bool ishex,
 }
 
 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");