Date: Sun, 9 Mar 2008 12:10:25 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/chflags chflags.1 chflags.c Message-ID: <200803091210.m29CAPQ6082385@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803091210.m29CAPQ6082385>
