Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/chflags - Sort option list;



details:   https://anonhg.NetBSD.org/src/rev/2723fd8f19ce
branches:  trunk
changeset: 783245:2723fd8f19ce
user:      wiz <wiz%NetBSD.org@localhost>
date:      Wed Dec 12 13:30:06 2012 +0000

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

>From Bug Hunting.

diffstat:

 usr.bin/chflags/chflags.1 |  20 +++++++++-----------
 1 files changed, 9 insertions(+), 11 deletions(-)

diffs (57 lines):

diff -r a9f84a835384 -r 2723fd8f19ce usr.bin/chflags/chflags.1
--- a/usr.bin/chflags/chflags.1 Wed Dec 12 13:28:06 2012 +0000
+++ b/usr.bin/chflags/chflags.1 Wed Dec 12 13:30:06 2012 +0000
@@ -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 @@
 .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 @@
 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 @@
 .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 ,



Home | Main Index | Thread Index | Old Index