diff options
| author | Thorsten Töpper <atsutane@freethoughts.de> | 2025-07-18 20:09:02 +0200 |
|---|---|---|
| committer | Thorsten Töpper <atsutane@freethoughts.de> | 2025-07-18 20:09:02 +0200 |
| commit | 0aff941d137cfc6656ae22b9b949bd36e2b5e795 (patch) | |
| tree | 43af1bcc6c72e2ae9f9366ec6512fa71833a9616 | |
| parent | 88c00512e60bc89d9c857aba24bfc6a93c77a577 (diff) | |
| download | dir_monitor-0aff941d137cfc6656ae22b9b949bd36e2b5e795.tar.gz dir_monitor-0aff941d137cfc6656ae22b9b949bd36e2b5e795.tar.bz2 | |
options: replace -v with -a
| -rw-r--r-- | src/options.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/options.c b/src/options.c index 9220003..efc4169 100644 --- a/src/options.c +++ b/src/options.c @@ -61,7 +61,7 @@ void usage(char *executable) { "Print a header above the columns"); fprintf(stderr, " %-25s %2s %10s - %s\n", "--reverse-sort", "", "", "Sort reversed"); - fprintf(stderr, " %-25s %2s %10s - %s\n", "--show-hidden-entries", "-v", "", + fprintf(stderr, " %-25s %2s %10s - %s\n", "--show-hidden-entries", "-a", "", "Show hidden entries in the directory"); fprintf(stderr, " %-25s %2s %10s - %s\n", "--sort-by", "", "variant", "Sort either by size or time"); @@ -180,7 +180,7 @@ int parse_arguments(int argc, char **argv) { while(1) { index = 0; - c = getopt_long(argc, argv, "Hhtv", long_options, &index); + c = getopt_long(argc, argv, "aHht", long_options, &index); if (c == -1) { break; @@ -199,7 +199,7 @@ int parse_arguments(int argc, char **argv) { case 't': option_timestamp_long = true; break; - case 'v': + case 'a': option_show_hidden_entries = true; break; case '?': |
