summaryrefslogtreecommitdiffstats
path: root/bin/chmod/chmod.c
diff options
context:
space:
mode:
authorchris <chris@FreeBSD.org>1999-08-08 21:08:05 +0000
committerchris <chris@FreeBSD.org>1999-08-08 21:08:05 +0000
commit5bc66261cab881ca039a2ba8e864480d1bcbf9ef (patch)
tree65c6a801745309ed4472c87b74e8d8ca84f41ff9 /bin/chmod/chmod.c
parent0c67d78c0dbeb20346e56e674d9875d6d0cec069 (diff)
downloadFreeBSD-src-5bc66261cab881ca039a2ba8e864480d1bcbf9ef.zip
FreeBSD-src-5bc66261cab881ca039a2ba8e864480d1bcbf9ef.tar.gz
Document -f flag:
-f Do not display a diagnostic message if chmod could not modify the mode for file.
Diffstat (limited to 'bin/chmod/chmod.c')
-rw-r--r--bin/chmod/chmod.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/chmod/chmod.c b/bin/chmod/chmod.c
index 4e17123..0758c42 100644
--- a/bin/chmod/chmod.c
+++ b/bin/chmod/chmod.c
@@ -42,7 +42,7 @@ static char const copyright[] =
static char sccsid[] = "@(#)chmod.c 8.8 (Berkeley) 4/1/94";
#endif
static const char rcsid[] =
- "$Id: chmod.c,v 1.11 1998/05/13 07:22:11 charnier Exp $";
+ "$Id: chmod.c,v 1.12 1998/12/16 04:42:00 imp Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -92,7 +92,7 @@ main(argc, argv)
case 'R':
Rflag = 1;
break;
- case 'f': /* XXX: undocumented. */
+ case 'f':
fflag = 1;
break;
case 'h':
@@ -203,6 +203,6 @@ void
usage()
{
(void)fprintf(stderr,
- "usage: chmod [-R [-H | -L | -P]] mode file ...\n");
+ "usage: chmod [-f -R [-H | -L | -P]] mode file ...\n");
exit(1);
}
OpenPOWER on IntegriCloud