diff options
Diffstat (limited to 'usr.bin/fetch/main.c')
-rw-r--r-- | usr.bin/fetch/main.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/fetch/main.c b/usr.bin/fetch/main.c index a45486e..c584065 100644 --- a/usr.bin/fetch/main.c +++ b/usr.bin/fetch/main.c @@ -24,7 +24,7 @@ * SUCH DAMAGE. */ -/* $Id: main.c,v 1.40 1997/07/02 06:28:32 charnier Exp $ */ +/* $Id: main.c,v 1.41 1997/07/25 19:35:44 wollman Exp $ */ #include <sys/types.h> @@ -73,7 +73,7 @@ main(int argc, char *const *argv) fs.fs_verbose = 1; change_to_dir = file_to_get = hostname = 0; - while ((c = getopt(argc, argv, "abc:D:f:h:HilLmMnNo:pPqRrT:vV:")) != -1) { + while ((c = getopt(argc, argv, "abc:D:f:h:HilLmMnNo:pPqRrtT:vV:")) != -1) { switch (c) { case 'D': case 'H': case 'I': case 'N': case 'L': case 'V': break; /* ncftp compatibility */ @@ -130,6 +130,10 @@ main(int argc, char *const *argv) fs.fs_precious = 1; break; + case 't': + fs.fs_use_connect = 1; + break; + case 'T': /* strtol sets errno to ERANGE in the case of overflow */ errno = 0; |