diff options
author | 2013-08-06 23:05:01 +0000 | |
---|---|---|
committer | 2013-08-06 23:05:01 +0000 | |
commit | 4af0f32e0360a75cceafcbc7282ce25057fdad3d (patch) | |
tree | 1289912bc7c59f612353dac1801c36644ffe87c3 | |
parent | fix some whitespace at EOL (diff) | |
download | wireguard-openbsd-4af0f32e0360a75cceafcbc7282ce25057fdad3d.tar.xz wireguard-openbsd-4af0f32e0360a75cceafcbc7282ce25057fdad3d.zip |
document top-level -a option (the -a option to 'get' was already documented)
-rw-r--r-- | usr.bin/ssh/sftp.1 | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/usr.bin/ssh/sftp.1 b/usr.bin/ssh/sftp.1 index 2577fe87551..e75a81a7027 100644 --- a/usr.bin/ssh/sftp.1 +++ b/usr.bin/ssh/sftp.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sftp.1,v 1.92 2013/07/25 00:56:51 djm Exp $ +.\" $OpenBSD: sftp.1,v 1.93 2013/08/06 23:05:01 djm Exp $ .\" .\" Copyright (c) 2001 Damien Miller. All rights reserved. .\" @@ -22,7 +22,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: July 25 2013 $ +.Dd $Mdocdate: August 6 2013 $ .Dt SFTP 1 .Os .Sh NAME @@ -31,7 +31,7 @@ .Sh SYNOPSIS .Nm sftp .Bk -words -.Op Fl 1246Cpqrv +.Op Fl 1246Capqrv .Op Fl B Ar buffer_size .Op Fl b Ar batchfile .Op Fl c Ar cipher @@ -114,6 +114,11 @@ uses when transferring files. Larger buffers require fewer round trips at the cost of higher memory consumption. The default is 32768 bytes. +.It Fl a +Attempt to continue interrupted downloads rather than overwriting existing +partial or complete copies of files. +If the remote file contents differ from the partial local copy then the +resultant file is likely to be corrupt. .It Fl b Ar batchfile Batch mode reads a series of commands from an input .Ar batchfile @@ -368,8 +373,8 @@ If the flag is specified, then attempt to resume partial transfers of existing files. Note that resumption assumes that any partial copy of the local file matches the remote copy. -If the remote file differs from the partial local copy then the resultant file -is likely to be corrupt. +If the remote file contents differ from the partial local copy then the +resultant file is likely to be corrupt. .Pp If either the .Fl P |