summaryrefslogtreecommitdiffstats
path: root/usr.bin/ftp/ftp.1
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ftp/ftp.1')
-rw-r--r--usr.bin/ftp/ftp.112
1 files changed, 10 insertions, 2 deletions
diff --git a/usr.bin/ftp/ftp.1 b/usr.bin/ftp/ftp.1
index ed8d7e0c90f..7f963bfe9db 100644
--- a/usr.bin/ftp/ftp.1
+++ b/usr.bin/ftp/ftp.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ftp.1,v 1.115 2019/05/16 12:44:17 florian Exp $
+.\" $OpenBSD: ftp.1,v 1.116 2019/10/23 16:48:59 deraadt Exp $
.\" $NetBSD: ftp.1,v 1.22 1997/08/18 10:20:22 lukem Exp $
.\"
.\" Copyright (c) 1985, 1989, 1990, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)ftp.1 8.3 (Berkeley) 10/9/94
.\"
-.Dd $Mdocdate: May 16 2019 $
+.Dd $Mdocdate: October 23 2019 $
.Dt FTP 1
.Os
.Sh NAME
@@ -47,6 +47,7 @@
.Op Ar host Op Ar port
.Nm ftp
.Op Fl C
+.Op Fl N Ar name
.Op Fl o Ar output
.Op Fl s Ar srcaddr
.Sm off
@@ -58,6 +59,7 @@
.Nm ftp
.Op Fl C
.Op Fl c Ar cookie
+.Op Fl N Ar name
.Op Fl o Ar output
.Op Fl S Ar ssl_options
.Op Fl s Ar srcaddr
@@ -72,11 +74,13 @@
.Ar ...
.Nm ftp
.Op Fl C
+.Op Fl N Ar name
.Op Fl o Ar output
.Op Fl s Ar srcaddr
.Pf file: Ar
.Nm ftp
.Op Fl C
+.Op Fl N Ar name
.Op Fl o Ar output
.Op Fl s Ar srcaddr
.Ar host : Ns / Ns Ar file Ns Op /
@@ -203,6 +207,10 @@ 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 log in.
+.It Fl N Ar name
+Use this alternative name instead of
+.Nm
+in some error reports.
.It Fl o Ar output
When fetching a single file or URL, save the contents in
.Ar output .