X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=onak.c;h=8eccc9ce4472a75a07db4e4fe7f8f152234e7b1b;hb=d2b297e2cf5769ecf4cf22a26f8c9775415c2999;hp=e7c74862c809c16c07828ddfdf76e0a99b4a586b;hpb=e02c731dfbb288c736f2cd09a9b6df0507c59ddd;p=onak.git diff --git a/onak.c b/onak.c index e7c7486..8eccc9c 100644 --- a/onak.c +++ b/onak.c @@ -76,6 +76,7 @@ void usage(void) { puts("\tCommands:\n"); puts("\tadd - read armored OpenPGP keys from stdin and add to the keyserver"); puts("\tdelete - delete a given key from the keyserver"); + puts("\tget - retrieves the key requested from the keyserver"); puts("\tindex - search for a key and list it"); puts("\tvindex - search for a key and list it and its signatures"); } @@ -106,6 +107,8 @@ int main(int argc, char *argv[]) } } + readconfig(); + if ((argc - optind) < 1) { usage(); } else if (!strcmp("add", argv[optind])) {