From: dtucker Date: Tue, 22 Jun 2004 03:08:21 +0000 (+0000) Subject: - djm@cvs.openbsd.org 2004/06/21 22:41:31 X-Git-Tag: V_3_9_P1~93 X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/commitdiff_plain/c4c84934d23a1d9b081627a86f51a3060b095223 - djm@cvs.openbsd.org 2004/06/21 22:41:31 [sftp.1] document sort options --- diff --git a/ChangeLog b/ChangeLog index 9b428116..0b105383 100644 --- a/ChangeLog +++ b/ChangeLog @@ -30,6 +30,9 @@ - djm@cvs.openbsd.org 2004/06/21 22:30:45 [sftp.c] prefix ls option flags with LS_ + - djm@cvs.openbsd.org 2004/06/21 22:41:31 + [sftp.1] + document sort options 20040620 - (tim) [configure.ac Makefile.in] Only change TEST_SHELL on broken platforms. diff --git a/sftp.1 b/sftp.1 index fec67731..3b035b1d 100644 --- a/sftp.1 +++ b/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 .