diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-02-17 23:22:57 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-02-17 23:22:57 +0000 |
commit | 921d6e7e0ac5e0aaff789114a7d2d6e6ff55f05b (patch) | |
tree | 4d501c4a140e71a1b8f3ac7fdd574c154d3c7d71 /usr.bin/ftp/ftp.1 | |
parent | 4bf25be6f082822cb2e8f1578e000cb51110b1ff (diff) |
Add a new option "-o filename" for autofetch mode. Allows use of
"-" to mean stdout. This replaces the old (unreliable) hueristic
of checking if stdout is a tty and if not make the output go to stdout.
Diffstat (limited to 'usr.bin/ftp/ftp.1')
-rw-r--r-- | usr.bin/ftp/ftp.1 | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/usr.bin/ftp/ftp.1 b/usr.bin/ftp/ftp.1 index dd9f5258818..624d243ea1b 100644 --- a/usr.bin/ftp/ftp.1 +++ b/usr.bin/ftp/ftp.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ftp.1,v 1.16 1997/12/17 16:03:01 millert Exp $ +.\" $OpenBSD: ftp.1,v 1.17 1998/02/17 23:22:55 millert Exp $ .\" $NetBSD: ftp.1,v 1.22 1997/08/18 10:20:22 lukem Exp $ .\" .\" Copyright (c) 1985, 1989, 1990, 1993 @@ -51,6 +51,7 @@ file transfer program .Op Fl g .Op Fl i .Op Fl n +.Op Fl o Ar output .Op Fl p .Op Fl P Ar port .Op Fl r Ar seconds @@ -119,6 +120,15 @@ If no entry exists, will prompt for the remote machine login name (default is the user identity on the local machine), and, if necessary, prompt for a password and an account with which to login. +.It Fl o Ar output +When fetching a single file or url, save the contents in +.Ar output . +To make the contents go to +.Ar stdout , +use +.Qq - +for +.Ar output . .It Fl p Enable passive mode operation for use behind connection filtering firewalls. This option has been deprecated as |