-.\" $OpenBSD: sftp.1,v 1.74 2009/08/18 18:36:20 djm Exp $
+.\" $OpenBSD: sftp.1,v 1.82 2010/01/13 12:48:34 jmc Exp $
.\"
.\" Copyright (c) 2001 Damien Miller. All rights reserved.
.\"
.Ar local-path
must specify a directory.
.Pp
-If ether the
-.Fl Ppr
+If either the
+.Fl P
or
.Fl p
flag is specified, then full file permissions and access times are
.It Ic lpwd
Print local working directory.
.It Xo Ic ls
-.Op Fl 1aflnrSt
+.Op Fl 1afhlnrSt
.Op Ar path
.Xc
Display a remote directory listing of either
.It Fl f
Do not sort the listing.
The default sort order is lexicographical.
+.It Fl h
+When used with a long format option, use unit suffixes: Byte, Kilobyte,
+Megabyte, Gigabyte, Terabyte, Petabyte, and Exabyte in order to reduce
+the number of digits to four or fewer using powers of 2 for sizes (K=1024,
+M=1048576, etc.).
.It Fl l
Display additional details including permissions
and ownership information.
.It Ic progress
Toggle display of progress meter.
.It Xo Ic put
-.Op Fl P
+.Op Fl Ppr
.Ar local-path
.Op Ar remote-path
.Xc