diff options
author | Petr Písař <ppisar@redhat.com> | 2013-04-09 14:20:38 +0200 |
---|---|---|
committer | Marco d'Itri <md@linux.it> | 2013-04-10 17:25:05 +0200 |
commit | 8ec60c27f03322354e6b7f2a7184ce5a0c29a181 (patch) | |
tree | 798831310edb7a456503371914551ed426ba5b57 /whois.c | |
parent | 16c9a177c949ee22aa385df58e3173ea633799ef (diff) | |
download | whois-8ec60c27f03322354e6b7f2a7184ce5a0c29a181.tar.gz |
Update documentation
whois(1) options listing has been updated in whois --help output as
well as in manual page.
Rerefence to RIPE WHOIS database query syntax has been updated.
Diffstat (limited to 'whois.c')
-rw-r--r-- | whois.c | 41 |
1 files changed, 23 insertions, 18 deletions
@@ -1185,32 +1185,37 @@ void usage(void) { fprintf(stderr, _( "Usage: whois [OPTION]... OBJECT...\n\n" -"-l one level less specific lookup [RPSL only]\n" -"-L find all Less specific matches\n" -"-m find first level more specific matches\n" -"-M find all More specific matches\n" +"-h HOST, --host HOST connect to server HOST\n" +"-p PORT, --port PORT connect to PORT\n" +"-H hide legal disclaimers\n" +" --verbose explain what is being done\n" +" --help display this help and exit\n" +" --version output version information and exit\n" +"\n" +"These flags are supported by whois.ripe.net and some RIPE-like servers:\n" +"-l find the one level less specific match\n" +"-L find all levels less specific matches\n" +"-m find all one level more specific matches\n" +"-M find all levels of more specific matches\n" "-c find the smallest match containing a mnt-irt attribute\n" -"-x exact match [RPSL only]\n" -"-d return DNS reverse delegation objects too [RPSL only]\n" -"-i ATTR[,ATTR]... do an inverse lookup for specified ATTRibutes\n" +"-x exact match\n" +"-b return brief IP address ranges with abuse contact\n" +"-B turn off object filtering (show email addresses)\n" +"-G turn off grouping of associated objects\n" +"-d return DNS reverse delegation objects too\n" +"-i ATTR[,ATTR]... do an inverse look-up for specified ATTRibutes\n" "-T TYPE[,TYPE]... only look for objects of TYPE\n" -"-K only primary keys are returned [RPSL only]\n" -"-r turn off recursive lookups for contact information\n" +"-K only primary keys are returned\n" +"-r turn off recursive look-ups for contact information\n" "-R force to show local copy of the domain object even\n" " if it contains referral\n" -"-a search all databases\n" -"-s SOURCE[,SOURCE]... search the database from SOURCE\n" +"-a also search all the mirrored databases\n" +"-s SOURCE[,SOURCE]... search the database mirrored from SOURCE\n" "-g SOURCE:FIRST-LAST find updates from SOURCE from serial FIRST to LAST\n" "-t TYPE request template for object of TYPE\n" "-v TYPE request verbose template for object of TYPE\n" -"-q [version|sources|types] query specified server info [RPSL only]\n" +"-q [version|sources|types] query specified server info\n" "-F fast raw output (implies -r)\n" -"-h HOST connect to server HOST\n" -"-p PORT connect to PORT\n" -"-H hide legal disclaimers\n" -" --verbose explain what is being done\n" -" --help display this help and exit\n" -" --version output version information and exit\n" )); exit(0); } |