From: ian Date: Wed, 24 Nov 1999 17:10:56 +0000 (+0000) Subject: Improved usage message. X-Git-Tag: wip.base.getaddrinfo~203 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=3d89679aa094ea209fe2a9579199c7762222917b;p=adns.git Improved usage message. --- diff --git a/client/adnsresfilter.c b/client/adnsresfilter.c index 6891d88..f265773 100644 --- a/client/adnsresfilter.c +++ b/client/adnsresfilter.c @@ -109,11 +109,13 @@ static void outputerr(void) { sysfail("write to stdout"); } static void usage(void) { if (printf("usage: adnsresfilter []\n" " adnsresfilter -h|--help\n" - "options: -b|--brackets\n" - " -w|--wait\n" - " -t|--timeout \n" - " -a|--address (always include address in output)\n" - " -u|--unchecked\n") + "options: -t|--timeout \n" + " -w|--wait (always wait for queries to time out or fail)\n" + " -b|--brackets (require [...] around IP addresses)\n" + " -a|--address (always include [address] in output)\n" + " -u|--unchecked (do not forward map for checking)\n" + "Timeout is the maximum amount to delay any particular bit of output for.\n" + "Lookups will go on in the background. Default timeout = 100 (ms).\n") == EOF) outputerr(); }