*
*/
-#define VERSION_NUMBER "0.5"
+#define VERSION_NUMBER "0.6"
#define _BSD_SOURCE
int show_hits = 1; /* 1 means to show the files from dir2
corresponding to the ones from dir1 */
-int show_groups = 0; /* 1 means to show the group IDs when printing
+int show_groups = 1; /* 1 means to show the group IDs when printing
file names */
/********************************************************************/
if(fd1 < 0) {
fprintf(stderr,
- "Can not open `%s' error: %s\n",
+ "Can not open \"%s\" error: %s\n",
f1->filename,
strerror(errno));
}
if(fd2 < 0) {
fprintf(stderr,
- "Can not open `%s' error: %s\n",
+ "Can not open \"%s\" error: %s\n",
f2->filename,
strerror(errno));
}
if(same_dir) {
list2 = list1;
} else {
- fprintf(stderr, " %s ... ", dirname2);
+ fprintf(stderr, "%s ... ", dirname2);
list2 = scan_directory(0, dirname2);
}
fprintf(stderr, "done.\n");
fprintf(out, " -h show this help\n");
fprintf(out, " -d ignore dot files and directories\n");
fprintf(out, " -c do not show which files in DIR2 corresponds to those in DIR1\n");
- fprintf(out, " -g show the file groups\n");
+ fprintf(out, " -g do not show the file groups\n");
fprintf(out, " -r show the real file paths\n");
fprintf(out, "\n");
fprintf(out, "Report bugs and comments to <francois@fleuret.org>\n");
break;
case 'g':
- show_groups = 1;
+ show_groups = 0;
break;
case 'c':