version 1.116, 2001/04/17 12:55:04 |
version 1.117, 2001/04/30 11:18:52 |
|
|
fprintf(stderr, " -6 Use IPv6 only.\n"); |
fprintf(stderr, " -6 Use IPv6 only.\n"); |
fprintf(stderr, " -o 'option' Process the option as if it was read from a configuration file.\n"); |
fprintf(stderr, " -o 'option' Process the option as if it was read from a configuration file.\n"); |
fprintf(stderr, " -s Invoke command (mandatory) as SSH2 subsystem.\n"); |
fprintf(stderr, " -s Invoke command (mandatory) as SSH2 subsystem.\n"); |
|
fprintf(stderr, " -b Local IP address.\n"); |
exit(1); |
exit(1); |
} |
} |
|
|
|
|
opt = av[optind][1]; |
opt = av[optind][1]; |
if (!opt) |
if (!opt) |
usage(); |
usage(); |
if (strchr("eilcmpLRDo", opt)) { /* options with arguments */ |
if (strchr("eilcmpbLRDo", opt)) { /* options with arguments */ |
optarg = av[optind] + 2; |
optarg = av[optind] + 2; |
if (strcmp(optarg, "") == 0) { |
if (strcmp(optarg, "") == 0) { |
if (optind >= ac - 1) |
if (optind >= ac - 1) |
|
|
break; |
break; |
case 's': |
case 's': |
subsystem_flag = 1; |
subsystem_flag = 1; |
|
break; |
|
case 'b': |
|
options.bind_address = optarg; |
break; |
break; |
default: |
default: |
usage(); |
usage(); |