version 1.86, 2013/12/24 13:00:59 |
version 1.87, 2014/01/23 00:39:15 |
|
|
#endif /* !SMALL */ |
#endif /* !SMALL */ |
|
|
while ((ch = getopt(argc, argv, |
while ((ch = getopt(argc, argv, |
"46AaCc:dEegik:mno:pP:r:S:s:tvV")) != -1) { |
"46AaCc:dD:Eegik:mno:pP:r:S:s:tvV")) != -1) { |
switch (ch) { |
switch (ch) { |
case '4': |
case '4': |
family = PF_INET; |
family = PF_INET; |
|
|
#endif /* !SMALL */ |
#endif /* !SMALL */ |
break; |
break; |
|
|
|
case 'D': |
|
action = optarg; |
|
break; |
case 'd': |
case 'd': |
#ifndef SMALL |
#ifndef SMALL |
options |= SO_DEBUG; |
options |= SO_DEBUG; |
|
|
{ |
{ |
(void)fprintf(stderr, "usage: %s " |
(void)fprintf(stderr, "usage: %s " |
#ifndef SMALL |
#ifndef SMALL |
"[-46AadEegimnptVv] [-k seconds] [-P port] " |
"[-46AadEegimnptVv] [-D title] [-k seconds] [-P port] " |
"[-r seconds] [-s srcaddr]\n" |
"[-r seconds]\n" |
" [host [port]]\n" |
" [-s srcaddr] [host [port]]\n" |
" %s [-C] " |
" %s [-C] " |
#endif /* !SMALL */ |
#endif /* !SMALL */ |
"[-o output] " |
"[-o output] " |