Rewrote the help.
[finddup.git] / finddup.1
index 9c5afda..989cff9 100644 (file)
--- a/finddup.1
+++ b/finddup.1
@@ -6,11 +6,11 @@
 
 .SH "NAME"
 
 
 .SH "NAME"
 
-finddup \- A simple command line utility for size-sorting files
+finddup \- Find files common to several directories or not
 
 .SH "SYNOPSIS"
 
 
 .SH "SYNOPSIS"
 
-\fBfinddup\fP [OPTION]... [FILE]...
+\fBfinddup\fP [OPTION]... DIR1 [[^]DIR2]
 
 .SH "DESCRIPTION"
 
 
 .SH "DESCRIPTION"
 
@@ -18,6 +18,12 @@ finddup \- A simple command line utility for size-sorting files
 common to two directories or files existing in one directories and not
 in another one.
 
 common to two directories or files existing in one directories and not
 in another one.
 
+With a single directory argument, prints the duplicate files found in
+it. With two directories, prints the files common to both.
+
+If the second directory name starts with a ^, prints the files
+existing in DIR1 which do not exist in DIR2.
+
 .SH "OPTIONS"
 .TP
 \fB-h\fR
 .SH "OPTIONS"
 .TP
 \fB-h\fR
@@ -28,7 +34,8 @@ shows the real path of the files
 
 .SH "BUGS"
 
 
 .SH "BUGS"
 
-None known, probably many though.
+Every pair of different files with same content are listed, which
+results in K^2 printed lines when K files are similar.
 
 .SH "AUTHOR"
 
 
 .SH "AUTHOR"