From 15ca6e88426b1b0919151e23268163d93c81e8a0 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Tue, 22 Jun 2004 13:08:21 +1000 Subject: - djm@cvs.openbsd.org 2004/06/21 22:41:31 [sftp.1] document sort options --- ChangeLog | 5 ++++- sftp.1 | 16 +++++++++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0fe2f77dd..f21706fe9 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. @@ -1352,4 +1355,4 @@ - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu -$Id: ChangeLog,v 1.3425 2004/06/22 03:07:58 dtucker Exp $ +$Id: ChangeLog,v 1.3426 2004/06/22 03:08:21 dtucker Exp $ diff --git a/sftp.1 b/sftp.1 index fec67731b..3b035b1d4 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 . -- cgit v1.2.3