Cosmetics.
authorFrancois Fleuret <francois@fleuret.org>
Mon, 8 Mar 2010 12:46:06 +0000 (13:46 +0100)
committerFrancois Fleuret <francois@fleuret.org>
Mon, 8 Mar 2010 12:46:06 +0000 (13:46 +0100)
finddup.1
finddup.c

index d0c0eba..f88f42f 100644 (file)
--- a/finddup.1
+++ b/finddup.1
@@ -1,9 +1,9 @@
+.TH "FINDDUP" 1 "Mar 2010" "Francois Fleuret" "User Commands"
+
 \" This man page was written by Francois Fleuret <francois@fleuret.org>
 \" and is distributed under a Creative Commons Attribution-Share Alike
 \" 3.0 License.
 
 \" This man page was written by Francois Fleuret <francois@fleuret.org>
 \" and is distributed under a Creative Commons Attribution-Share Alike
 \" 3.0 License.
 
-.TH "FINDDUP" 1 "Mar 2010" "Francois Fleuret" "User Commands"
-
 .SH "NAME"
 
 finddup \- Find files common to two directories (or not)
 .SH "NAME"
 
 finddup \- Find files common to two directories (or not)
@@ -14,9 +14,9 @@ finddup \- Find files common to two directories (or not)
 
 .SH "DESCRIPTION"
 
 
 .SH "DESCRIPTION"
 
-With a single directory argument, \fBfinddup\fP prints the duplicate
+With a single directory argument, \fBfinddup\fP prints the duplicated
 files found in it. With two directories, it prints either the files
 files found in it. With two directories, it prints either the files
-common to both DIR1 and DIR2, or with the not: prefix, the ones
+common to both DIR1 and DIR2, or with the `not:' prefix, the ones
 present in DIR1 and not in DIR2.
 
 .SH "OPTIONS"
 present in DIR1 and not in DIR2.
 
 .SH "OPTIONS"
index 91079de..8d6e67a 100644 (file)
--- a/finddup.c
+++ b/finddup.c
@@ -1,7 +1,8 @@
 
 /*
 
 /*
- *  finddup is a simple utility to display the files and directories
- *  according to their total disk occupancy.
+ *  finddup is a simple utility find duplicated files, files common to
+ *  several directories, or files present in one directory and not in
+ *  another one.
  *
  *  Copyright (c) 2010 Francois Fleuret
  *  Written by Francois Fleuret <francois@fleuret.org>
  *
  *  Copyright (c) 2010 Francois Fleuret
  *  Written by Francois Fleuret <francois@fleuret.org>
@@ -274,7 +275,7 @@ void start(const char *dirname1, const char *dirname2) {
 void print_help(FILE *out) {
   fprintf(out, "Usage: finddup [OPTION]... DIR1 [[not:]DIR2]\n");
   fprintf(out, "Version %s (%s)\n", VERSION_NUMBER, UNAME);
 void print_help(FILE *out) {
   fprintf(out, "Usage: finddup [OPTION]... DIR1 [[not:]DIR2]\n");
   fprintf(out, "Version %s (%s)\n", VERSION_NUMBER, UNAME);
-  fprintf(out, "Without DIR2, lists duplicate files found in DIR1. With DIR2, lists files common to both directories. With the not: prefix, lists files found in DIR1 which do not exist in DIR2.\n");
+  fprintf(out, "Without DIR2, lists duplicated files found in DIR1. With DIR2, lists files common to both directories. With the not: prefix, lists files found in DIR1 which do not exist in DIR2.\n");
   fprintf(out, "\n");
   fprintf(out, "   -h   show this help.\n");
   fprintf(out, "   -r   show the real file paths.\n");
   fprintf(out, "\n");
   fprintf(out, "   -h   show this help.\n");
   fprintf(out, "   -r   show the real file paths.\n");