X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/17cd4f48f8aee24c988b662b95884d50b6395584..cb7bb8e2592297d4de88fded6b4bcf995334ee29:/client/adnstest.c diff --git a/client/adnstest.c b/client/adnstest.c index 0e0db03..59a3bbc 100644 --- a/client/adnstest.c +++ b/client/adnstest.c @@ -102,6 +102,7 @@ static void usageerr(const char *why) { "initflags: p use poll(2) instead of select(2)\n" " s use adns_wait with specified query, instead of 0\n" "queryflags: a print status abbrevs instead of strings\n" + "typenum: may be 0x|, or 0x or \n" "exit status: 0 ok (though some queries may have failed)\n" " 1 used by test harness to indicate test failed\n" " 2 unable to submit or init or some such\n" @@ -207,12 +208,19 @@ int main(int argc, char *const *argv) { if (ch==',') tc++; types_a= malloc(sizeof(*types_a)*(tc+1)); if (!types_a) { perror("malloc types"); quitnow(3); } - for (cp= argv[1]+1, ti=0; ti