diff options
author | Darren Tucker <dtucker@zip.com.au> | 2010-01-13 22:44:06 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2010-01-13 22:44:06 +1100 |
commit | 2901e2daebe3a0890209f31d05d5bb9338cbed5b (patch) | |
tree | 8165aef201520ede26777b48b3c9e777245e2616 /sftp.1 | |
parent | daaa4500519627abee7c6d1969bc33df6572c1e8 (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.1 | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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 |
394 | Print local working directory. | 394 | Print 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 |
399 | Display a remote directory listing of either | 399 | Display a remote directory listing of either |
@@ -421,6 +421,11 @@ The default sort order is lexicographical. | |||
421 | .It Fl l | 421 | .It Fl l |
422 | Display additional details including permissions | 422 | Display additional details including permissions |
423 | and ownership information. | 423 | and ownership information. |
424 | .It Fl h | ||
425 | When used with a long format option, use unit suffixes: Byte, Kilobyte, | ||
426 | Megabyte, Gigabyte, Terabyte, Petabyte, and Exabyte in order to reduce | ||
427 | the number of digits to four or fewer using powers of 2 for sizes (K=1024, | ||
428 | M=1048576, etc.). | ||
424 | .It Fl n | 429 | .It Fl n |
425 | Produce a long listing with user and group information presented | 430 | Produce a long listing with user and group information presented |
426 | numerically. | 431 | numerically. |