diff options
Diffstat (limited to 'summain.1')
-rw-r--r-- | summain.1 | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -3,6 +3,8 @@ summain \- gather file checksums and metadata .SH SYNOPSIS .B summain +.RB [ \-r ] +.RB [ \-\-relative\-paths ] .RI [ file ...] .SH DESCRIPTION .B summain @@ -39,3 +41,24 @@ Normalized means that there will be no differences. The numbers are reported so that hard links can be checked. .PP Directories named on the command line will be recursed automatically. +.SH OPTIONS +.TP +.BR \-r ", " \-\-relative\-paths +Print pathnames relative to the command line argument they derive from. +If the command line argument is the directory called +.I foo +and there is a file called +.IR bar , +normally +.I foo/bar +is printed as the name. +With this option, +.I bar +is printed instead. +This can be handy for normalizing the paths for comparing two copies of the +same directory tree in two different locations on disk: +run +.B summain +on both, +and compare the output with +.BR diff (1). |