From: Francois Fleuret Date: Mon, 8 Mar 2010 19:23:20 +0000 (+0100) Subject: Showing the group IDs now by default. X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=finddup.git;a=commitdiff_plain;h=557365f6f9347243c49f06b4cfa947a259af2548 Showing the group IDs now by default. --- diff --git a/finddup.1 b/finddup.1 index b6d758e..cb7ad92 100644 --- a/finddup.1 +++ b/finddup.1 @@ -31,7 +31,7 @@ ignore files and directories starting with a dot do not show which files from DIR2 corresponds to files from DIR1 .TP \fB-g\fR -show the file group IDs (one group for each content) +do not show the file group IDs (one group for each content) .TP \fB-r\fR shows the real path of the files diff --git a/finddup.c b/finddup.c index 514a676..7a20257 100644 --- a/finddup.c +++ b/finddup.c @@ -58,7 +58,7 @@ int show_progress = 1; /* 1 means show a progress bar when we are in a 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 */ /********************************************************************/ @@ -342,7 +342,7 @@ void print_help(FILE *out) { 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 \n"); @@ -380,7 +380,7 @@ int main(int argc, char **argv) { break; case 'g': - show_groups = 1; + show_groups = 0; break; case 'c':