X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/adns/blobdiff_plain/4c74930b677606cb6340686091315f7af9bd9c42..717d4481cb5d0d9db7a3d9660954ea54df763a20:/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