diff options
Diffstat (limited to 'src/options.c')
| -rw-r--r-- | src/options.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/options.c b/src/options.c index 3f226d3..3c8023c 100644 --- a/src/options.c +++ b/src/options.c @@ -30,6 +30,7 @@ enum operation_modes option_mode = MODE_DEV_MESSED_UP; bool option_clean_kv = false; bool option_quiet = false; bool option_show_hidden_entries = false; +bool option_show_non_duplicates = false; char *option_gdbm_db_name = "/tmp/duplicate_finder.gdbm"; char *option_sqlite_db_name = "duplicate_finder.sqlite"; @@ -42,7 +43,7 @@ void usage(char *executable) { fprintf(stderr, "\nOPTIONS are\n"); /* long name, short name, optional argument, explanation */ fprintf(stderr, " %-25s %2s %10s - %s\n", "--all", "-a", "", - "Also process and show files hidden on the filesystem"); + "Different per command, scan includes hidden files, analyze shows every db entry before analysis"); fprintf(stderr, " %-25s %2s %10s - %s\n", "--database", "-d", "", "fullname of the sqlite db to be used"); fprintf(stderr, " %-25s %2s %10s - %s\n", "--help", "-h", "", @@ -63,6 +64,7 @@ void set_option(const char *option_name, char *option_argument) { if (strcmp("all", option_name) == 0) { option_show_hidden_entries = true; + option_show_non_duplicates = true; return; } if (option_name == NULL) |
