summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2004-06-21 22:41:32 +0000
committerDamien Miller <djm@cvs.openbsd.org>2004-06-21 22:41:32 +0000
commitd0f1e78e8caefac97f642f08eb3dcfa765894346 (patch)
treed52e8afcd529491e85ed93cb462ae613eb319d04
parentd5e24dee94b3a505e9f2d6960da600924075b2d4 (diff)
document sort options
-rw-r--r--usr.bin/ssh/sftp.116
1 files changed, 15 insertions, 1 deletions
diff --git a/usr.bin/ssh/sftp.1 b/usr.bin/ssh/sftp.1
index fec67731b58..3b035b1d407 100644
--- a/usr.bin/ssh/sftp.1
+++ b/usr.bin/ssh/sftp.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sftp.1,v 1.56 2004/06/20 19:28:12 djm Exp $
+.\" $OpenBSD: sftp.1,v 1.57 2004/06/21 22:41:31 djm Exp $
.\"
.\" Copyright (c) 2001 Damien Miller. All rights reserved.
.\"
@@ -307,6 +307,20 @@ The
.Fl n
flag will produce a long listing with user and group information presented
numerically.
+.Pp
+By default,
+.Ic ls
+listings are sorted in lexicographical order.
+This may be changed by specifying the
+.Fl S
+(sort by file size),
+.Fl t
+(sort by last modification time), or
+.Fl f
+(don't sort at all) flags.
+Additionally, the sort order may be reversed using the
+.Fl r
+flag.
.It Ic lumask Ar umask
Set local umask to
.Ar umask .