Remove -S option

RIPE-like `-S' option is not documented nor supported by RIPE.
This commit is contained in:
Petr Písař 2013-04-09 14:20:39 +02:00 committed by Marco d'Itri
parent 8ec60c27f0
commit c5fb072b2b
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ whois \- client for the whois directory service
.B whois
[\~{\~\fB\-h\fP | \fB\-\-host\fP\~}\~\fIHOST\fP\~]
[\~{\~\fB\-p\fP | \fB\-\-port\fP\~}\~\fIPORT\fP\~]
[\~\fB\-abBcdFGHKlLmMrRSx\fP\~]
[\~\fB\-abBcdFGHKlLmMrRx\fP\~]
[\~\fB\-g\fP\~\fISOURCE:FIRST\-LAST\fP\~]
[\~\fB\-i\fP\~\fIATTR\fP[\fI,ATTR\fP]...\~]
[\~\fB\-s\fP\~\fISOURCE\fP[\fI,SOURCE\fP]...\~]

View File

@ -105,7 +105,7 @@ int main(int argc, char *argv[])
argv = merge_args(getenv("WHOIS_OPTIONS"), argv, &argc);
while ((ch = GETOPT_LONGISH(argc, argv,
"abBcdFg:Gh:Hi:KlLmMp:q:rRs:St:T:v:V:x", longopts, 0)) > 0) {
"abBcdFg:Gh:Hi:KlLmMp:q:rRs:t:T:v:V:x", longopts, 0)) > 0) {
/* RIPE flags */
if (strchr(ripeflags, ch)) {
if (strlen(fstring) + 3 > fstringlen) {

View File

@ -41,6 +41,6 @@ void split_server_port(const char *const input, const char **server,
/* flags for RIPE-like servers */
const char *ripeflags="abBcdFGKlLmMrRSx";
const char *ripeflags="abBcdFGKlLmMrRx";
const char *ripeflagsp="gisTtvq";