From 56e992a974a82ef9a7569c40874aca5dee694d23 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 11 Nov 2013 21:15:16 +0000 Subject: Add an example to the manpage --- summain.1.in | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1