summaryrefslogtreecommitdiff
path: root/summain.1.in
diff options
context:
space:
mode:
Diffstat (limited to 'summain.1.in')
-rw-r--r--summain.1.in19
1 files changed, 18 insertions, 1 deletions
diff --git a/summain.1.in b/summain.1.in
index 41397e1..39cfb80 100644
--- a/summain.1.in
+++ b/summain.1.in
@@ -43,4 +43,21 @@ The numbers are reported so that hard links can be checked.
.PP
Directories named on the command line will be recursed automatically.
.SH OPTIONS
-
+.SH EXAMPLE
+To make a complete manifest of a directory tree so that you can later
+verify that nothing at all has changed:
+.PP
+.nf
+.RS
+summain foo > foo.summain
+.RE
+.fi
+.PP
+To verify that nothing has changed:
+.PP
+.nf
+.RS
+summain foo > foo.summain-2
+diff -u foo.summain foo.summain-2
+.RE
+.fi