- Sort option list;

- create separate section, use `.Ex' macro for, and put in the
  correct location exit status information;
- bump date.

From Bug Hunting.
This commit is contained in:
wiz 2012-12-12 13:30:06 +00:00
parent 54082f205d
commit 8fd1bb626e
1 changed files with 9 additions and 11 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: chflags.1,v 1.22 2012/12/12 13:28:06 wiz Exp $
.\" $NetBSD: chflags.1,v 1.23 2012/12/12 13:30:06 wiz Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@ -32,7 +32,7 @@
.\"
.\" @(#)chflags.1 8.4 (Berkeley) 5/2/95
.\"
.Dd May 14, 2010
.Dd December 12, 2012
.Dt CHFLAGS 1
.Os
.Sh NAME
@ -62,6 +62,11 @@ If the
.Fl R
option is specified, symbolic links on the command line are followed.
(Symbolic links encountered in the tree traversal are not followed.)
.It Fl h
If the
.Ar file
or a file encountered during directory traversal is a symbolic link,
the file flags of the link itself is changed.
.It Fl L
If the
.Fl R
@ -77,11 +82,6 @@ in the
instead of just the
.Ar files
themselves.
.It Fl h
If the
.Ar file
or a file encountered during directory traversal is a symbolic link,
the file flags of the link itself is changed.
.El
.Pp
Flags are a comma separated list of keywords.
@ -124,12 +124,10 @@ of
.Xr ls 1
is used to display the flags.
.Pp
The
.Nm
utility exits 0 on success, and \*[Gt]0 if an error occurs.
.Pp
The kernel does not allow the flags on block and character
devices to be changed except by the super-user.
.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr ls 1 ,
.Xr chflags 2 ,