summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mtree/mtree.8
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1994-09-18 21:17:40 +0000
committerrgrimes <rgrimes@FreeBSD.org>1994-09-18 21:17:40 +0000
commitb98c90be2e4e7635f6a431fe21bd5927a850b840 (patch)
treecec1784f94e1baa76dfd3637e01e44d44396d0a6 /usr.sbin/mtree/mtree.8
parent10e98516daf367390bc752990d2da01ac56b167a (diff)
downloadFreeBSD-src-b98c90be2e4e7635f6a431fe21bd5927a850b840.zip
FreeBSD-src-b98c90be2e4e7635f6a431fe21bd5927a850b840.tar.gz
1. Remove commented out CFLAGS+=-DDEBUG from Makefile
2. Clean up code so it compiles -Wall (except for sccsid's and copyright). This included fixing several printf formats that where not correct, and changing the data types of a few things. 3. Implement new option -i that produces indented mtree output files. 4. Implement new option -n that turns off directory comments. 5. Only emit /set records if something has changed since the last one.
Diffstat (limited to 'usr.sbin/mtree/mtree.8')
-rw-r--r--usr.sbin/mtree/mtree.816
1 files changed, 15 insertions, 1 deletions
diff --git a/usr.sbin/mtree/mtree.8 b/usr.sbin/mtree/mtree.8
index 54729f0..e8a4cb2 100644
--- a/usr.sbin/mtree/mtree.8
+++ b/usr.sbin/mtree/mtree.8
@@ -39,7 +39,7 @@
.Nd map a directory hierarchy
.Sh SYNOPSIS
.Nm mtree
-.Op Fl cderux
+.Op Fl cdeinrux
.Op Fl f Ar spec
.Op Fl K Ar keywords
.Op Fl k Ar keywords
@@ -67,12 +67,26 @@ specification.
Read the specification from
.Ar file ,
instead of from the standard input.
+.It Fl i
+Indents the output 4 spaces each time a directory level is descended when
+create a specification with the
+.Fl c
+option.
+This does not effect either the /set statements or the comment before each
+directory.
+It does however effect the comment before the close of each directory.
.It Fl K
Add the specified (whitespace or comma separated) keywords to the current
set of keywords.
.It Fl k
Use the ``type'' keyword plus the specified (whitespace or comma separated)
keywords instead of the current set of keywords.
+.It Fl n
+Do not emit pathname comments when creating a specification. Normally
+a comment is emitted before each directory and before the close of that
+directory when using the
+.Fl c
+option.
.It Fl p
Use the file hierarchy rooted in
.Ar path ,
OpenPOWER on IntegriCloud