mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-16 10:38:40 -09:00
main.c: fix misspelled option
This commit is contained in:
parent
b93acabd59
commit
6143a03a77
1 changed files with 1 additions and 1 deletions
|
|
@ -254,7 +254,7 @@ static int arg_option(void) {
|
||||||
else if(OPT("-L") || OPT("--follow-symlinks")) follow_symlinks = 1;
|
else if(OPT("-L") || OPT("--follow-symlinks")) follow_symlinks = 1;
|
||||||
else if(OPT("--no-follow-symlinks")) follow_symlinks = 0;
|
else if(OPT("--no-follow-symlinks")) follow_symlinks = 0;
|
||||||
else if(OPT("--exclude")) exclude_add(ARG);
|
else if(OPT("--exclude")) exclude_add(ARG);
|
||||||
else if(OPT("-X") || OPT("--exclude-form")) {
|
else if(OPT("-X") || OPT("--exclude-from")) {
|
||||||
arg = ARG;
|
arg = ARG;
|
||||||
if(exclude_addfile(arg)) die("Can't open %s: %s\n", arg, strerror(errno));
|
if(exclude_addfile(arg)) die("Can't open %s: %s\n", arg, strerror(errno));
|
||||||
} else if(OPT("--exclude-caches")) cachedir_tags = 1;
|
} else if(OPT("--exclude-caches")) cachedir_tags = 1;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue