From b98c90be2e4e7635f6a431fe21bd5927a850b840 Mon Sep 17 00:00:00 2001 From: rgrimes Date: Sun, 18 Sep 1994 21:17:40 +0000 Subject: 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. --- usr.sbin/mtree/mtree.8 | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'usr.sbin/mtree/mtree.8') 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 , -- cgit v1.1