cvs commit: src/bin/chflags chflags.1 chflags.c
Robert Watson
rwatson at FreeBSD.org
Sun Mar 9 12:10:25 UTC 2008
rwatson 2008-03-09 12:10:24 UTC
FreeBSD src repository
Modified files:
bin/chflags chflags.1 chflags.c
Log:
Make chflags(1) more chmod(1)-like (and more feature complete):
- Add -v to print file names as they are processed; -vv prints the flags
change as well.
- Add -f to ignore failures with the same semantics as chflags(1), neither
printing an error nor affecting the return code.
- Don't try to set the flags if they won't change.
I made minor cosmetic tweaks to the code in the patch.
MFC after: 1 week
PR: 112827
Submitted by: Ighighi <ighighi at gmail.com>
Revision Changes Path
1.30 +15 -1 src/bin/chflags/chflags.1
1.24 +28 -16 src/bin/chflags/chflags.c
More information about the cvs-src
mailing list