aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2018-06-12 16:44:13 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2018-06-12 16:44:13 +0000
commitbc0d1102225f709770d3027309e15e35bdc8f405 (patch)
treefcfc71da582924ca0d01ed48afdd5fb08b9f4ff7
parent43d7b1c097bdd90eaadcaf41d87d526ca02f72b0 (diff)
downloadsrc-bc0d1102225f709770d3027309e15e35bdc8f405.tar.gz
src-bc0d1102225f709770d3027309e15e35bdc8f405.zip
Add an example to the chflags(1) man page.
MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=335003
-rw-r--r--bin/chflags/chflags.17
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/chflags/chflags.1 b/bin/chflags/chflags.1
index 942cfe9bf137..3160e3780f25 100644
--- a/bin/chflags/chflags.1
+++ b/bin/chflags/chflags.1
@@ -32,7 +32,7 @@
.\" @(#)chflags.1 8.4 (Berkeley) 5/2/95
.\" $FreeBSD$
.\"
-.Dd March 6, 2018
+.Dd June 12, 2018
.Dt CHFLAGS 1
.Os
.Sh NAME
@@ -229,6 +229,11 @@ argument for
then the current filename as well as the old and new flags are displayed.
.Sh EXIT STATUS
.Ex -std
+.Sh EXAMPLES
+Recursively clear all flags on files and directories contained within the
+.Fa foobar
+directory hierarchy:
+.Dl Nm Fl R Ar 0 Ar foobar
.Sh SEE ALSO
.Xr ls 1 ,
.Xr chflags 2 ,