summaryrefslogtreecommitdiff
path: root/bin/ls/ls.1
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2011-03-04 21:03:20 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2011-03-04 21:03:20 +0000
commitf32c6cef51160ef4721d153ed090d42a52faba68 (patch)
treebc8f9ad76d6a2223f58e07904ee568296ffb7739 /bin/ls/ls.1
parente2f8e6d5d50c4fd4c3b7be00097da0c7ed49a64f (diff)
add support for the (POSIX) -H flag
feedback and ok millert@, sobrado@, jmc@
Diffstat (limited to 'bin/ls/ls.1')
-rw-r--r--bin/ls/ls.113
1 files changed, 10 insertions, 3 deletions
diff --git a/bin/ls/ls.1 b/bin/ls/ls.1
index 9cf23379b60..2eaa07e71bb 100644
--- a/bin/ls/ls.1
+++ b/bin/ls/ls.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ls.1,v 1.62 2010/09/03 09:53:20 jmc Exp $
+.\" $OpenBSD: ls.1,v 1.63 2011/03/04 21:03:19 okan Exp $
.\" $NetBSD: ls.1,v 1.14 1995/12/05 02:44:01 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1991, 1993, 1994
@@ -33,7 +33,7 @@
.\"
.\" @(#)ls.1 8.7 (Berkeley) 7/29/94
.\"
-.Dd $Mdocdate: September 3 2010 $
+.Dd $Mdocdate: March 4 2011 $
.Dt LS 1
.Os
.Sh NAME
@@ -41,7 +41,7 @@
.Nd list directory contents
.Sh SYNOPSIS
.Nm ls
-.Op Fl 1AaCcdFfghikLlmnopqRrSsTtux
+.Op Fl 1AaCcdFfgHhikLlmnopqRrSsTtux
.Op Ar
.Sh DESCRIPTION
For each operand that names a
@@ -125,6 +125,13 @@ Output is not sorted.
List in long format as in
.Fl l ,
except that the owner is not printed.
+.It Fl H
+Follow symbolic links specified on the command line.
+This is also the default behaviour when none of the
+.Fl d , F ,
+or
+.Fl l
+options are specified.
.It Fl h
When used with a long format
option, use unit suffixes: Byte, Kilobyte, Megabyte, Gigabyte, Terabyte,