diff options
Diffstat (limited to 'usr.bin/fetch/main.c')
-rw-r--r-- | usr.bin/fetch/main.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/usr.bin/fetch/main.c b/usr.bin/fetch/main.c index 999aff6..a45486e 100644 --- a/usr.bin/fetch/main.c +++ b/usr.bin/fetch/main.c @@ -24,7 +24,7 @@ * SUCH DAMAGE. */ -/* $Id: main.c,v 1.39 1997/07/01 06:37:34 charnier Exp $ */ +/* $Id: main.c,v 1.40 1997/07/02 06:28:32 charnier 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, "ac:D:f:h:HilLmMnNo:pPqRrT:vV:")) != -1) { + while ((c = getopt(argc, argv, "abc:D:f:h:HilLmMnNo:pPqRrT:vV:")) != -1) { switch (c) { case 'D': case 'H': case 'I': case 'N': case 'L': case 'V': break; /* ncftp compatibility */ @@ -81,10 +81,15 @@ main(int argc, char *const *argv) case 'a': fs.fs_auto_retry = 1; break; + + case 'b': + fs.fs_linux_bug = 1; + break; + case 'c': change_to_dir = optarg; break; - + case 'f': file_to_get = optarg; break; |