From 6143a03a77d61f54eb6c83bc616ad3cc1b9e7752 Mon Sep 17 00:00:00 2001 From: Roberto Ricci Date: Mon, 11 Sep 2023 00:45:00 +0200 Subject: [PATCH] main.c: fix misspelled option --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 1f3ccb9..6ddae96 100644 --- a/src/main.c +++ b/src/main.c @@ -254,7 +254,7 @@ static int arg_option(void) { else if(OPT("-L") || OPT("--follow-symlinks")) follow_symlinks = 1; else if(OPT("--no-follow-symlinks")) follow_symlinks = 0; else if(OPT("--exclude")) exclude_add(ARG); - else if(OPT("-X") || OPT("--exclude-form")) { + else if(OPT("-X") || OPT("--exclude-from")) { arg = ARG; if(exclude_addfile(arg)) die("Can't open %s: %s\n", arg, strerror(errno)); } else if(OPT("--exclude-caches")) cachedir_tags = 1;