Module Name:    src
Committed By:   wiz
Date:           Wed Dec 12 13:30:06 UTC 2012

Modified Files:
        src/usr.bin/chflags: chflags.1

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

>From Bug Hunting.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/usr.bin/chflags/chflags.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/chflags/chflags.1
diff -u src/usr.bin/chflags/chflags.1:1.22 src/usr.bin/chflags/chflags.1:1.23
--- src/usr.bin/chflags/chflags.1:1.22	Wed Dec 12 13:28:06 2012
+++ src/usr.bin/chflags/chflags.1	Wed Dec 12 13:30:06 2012
@@ -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 ,

Reply via email to