summaryrefslogtreecommitdiff
path: root/sftp.1
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2010-01-13 22:44:06 +1100
committerDarren Tucker <dtucker@zip.com.au>2010-01-13 22:44:06 +1100
commit2901e2daebe3a0890209f31d05d5bb9338cbed5b (patch)
tree8165aef201520ede26777b48b3c9e777245e2616 /sftp.1
parentdaaa4500519627abee7c6d1969bc33df6572c1e8 (diff)
- djm@cvs.openbsd.org 2010/01/13 01:40:16
[sftp.c sftp-server.c sftp.1 sftp-common.c sftp-common.h] support '-h' (human-readable units) for sftp's ls command, just like ls(1); ok dtucker@
Diffstat (limited to 'sftp.1')
-rw-r--r--sftp.111
1 files changed, 8 insertions, 3 deletions
diff --git a/sftp.1 b/sftp.1
index 3ec7a0234..f6371cf54 100644
--- a/sftp.1
+++ b/sftp.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: sftp.1,v 1.80 2010/01/09 23:04:13 dtucker Exp $ 1.\" $OpenBSD: sftp.1,v 1.81 2010/01/13 01:40:16 djm Exp $
2.\" 2.\"
3.\" Copyright (c) 2001 Damien Miller. All rights reserved. 3.\" Copyright (c) 2001 Damien Miller. All rights reserved.
4.\" 4.\"
@@ -22,7 +22,7 @@
22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24.\" 24.\"
25.Dd $Mdocdate: January 9 2010 $ 25.Dd $Mdocdate: January 13 2010 $
26.Dt SFTP 1 26.Dt SFTP 1
27.Os 27.Os
28.Sh NAME 28.Sh NAME
@@ -393,7 +393,7 @@ to
393.It Ic lpwd 393.It Ic lpwd
394Print local working directory. 394Print local working directory.
395.It Xo Ic ls 395.It Xo Ic ls
396.Op Fl 1aflnrSt 396.Op Fl 1aflhnrSt
397.Op Ar path 397.Op Ar path
398.Xc 398.Xc
399Display a remote directory listing of either 399Display a remote directory listing of either
@@ -421,6 +421,11 @@ The default sort order is lexicographical.
421.It Fl l 421.It Fl l
422Display additional details including permissions 422Display additional details including permissions
423and ownership information. 423and ownership information.
424.It Fl h
425When used with a long format option, use unit suffixes: Byte, Kilobyte,
426Megabyte, Gigabyte, Terabyte, Petabyte, and Exabyte in order to reduce
427the number of digits to four or fewer using powers of 2 for sizes (K=1024,
428M=1048576, etc.).
424.It Fl n 429.It Fl n
425Produce a long listing with user and group information presented 430Produce a long listing with user and group information presented
426numerically. 431numerically.