From owner-cvs-all@FreeBSD.ORG Sun Mar 16 18:54:53 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1DE3106566C; Sun, 16 Mar 2008 18:54:53 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B9B018FC1A; Sun, 16 Mar 2008 18:54:53 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m2GIsrkF007463; Sun, 16 Mar 2008 18:54:53 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2GIsrQr007462; Sun, 16 Mar 2008 18:54:53 GMT (envelope-from rwatson) Message-Id: <200803161854.m2GIsrQr007462@repoman.freebsd.org> From: Robert Watson Date: Sun, 16 Mar 2008 18:54:53 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/bin/chflags chflags.1 chflags.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Mar 2008 18:54:54 -0000 rwatson 2008-03-16 18:54:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) bin/chflags chflags.1 chflags.c Log: Merge chflags.1:1.30, chflags.c:1.24 from HEAD to RELENG_7: 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. PR: 112827 Submitted by: Ighighi Revision Changes Path 1.29.2.1 +15 -1 src/bin/chflags/chflags.1 1.23.10.1 +28 -16 src/bin/chflags/chflags.c