summaryrefslogtreecommitdiff
path: root/bin/ls/ls.1
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ls/ls.1')
-rw-r--r--bin/ls/ls.128
1 files changed, 27 insertions, 1 deletions
diff --git a/bin/ls/ls.1 b/bin/ls/ls.1
index 6cbbb8ab4eb..92677670829 100644
--- a/bin/ls/ls.1
+++ b/bin/ls/ls.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ls.1,v 1.6 1998/06/01 03:17:04 deraadt Exp $
+.\" $OpenBSD: ls.1,v 1.7 1998/07/01 11:24:23 espie Exp $
.\" $NetBSD: ls.1,v 1.14 1995/12/05 02:44:01 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1991, 1993, 1994
@@ -309,6 +309,31 @@ or
.El
.El
.Pp
+In addition, if the
+.Fl o
+option was specified, the file flags (See
+.Xr chflags 1 . )
+are displayed as comma-separated strings in front of the file name,
+abreviated as follows
+.Bl -tag -width 4n -offset indent -compact
+.It Sy -
+no flags
+.It uappnd
+user append-only
+.It uchg
+user immutable
+.It nodump
+do not dump
+.It opaque
+opaque file
+.It sappnd
+system append-only
+.It arch
+archived
+.It schg
+system immutable
+.El
+.Pp
The
.Nm ls
utility exits 0 on success, and >0 if an error occurs.
@@ -350,6 +375,7 @@ files in order to be compatible with the
specification.
.Sh SEE ALSO
.Xr chmod 1 ,
+.Xr chflags 1 ,
.Xr symlink 7 ,
.Xr sticky 8
.Sh HISTORY