summaryrefslogtreecommitdiffstats
path: root/opt.c
diff options
context:
space:
mode:
Diffstat (limited to 'opt.c')
-rw-r--r--opt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/opt.c b/opt.c
index 6a62790..e305588 100644
--- a/opt.c
+++ b/opt.c
@@ -998,6 +998,10 @@ int optimize_cmdline(struct cmdline *cmdline) {
return -1;
}
+ if (cmdline->exclude->always_true) {
+ bfs_warning(cmdline, "${red}-exclude${rs} applies to all files.\n");
+ }
+
// Only non-excluded files are evaluated
state.facts = state.facts_when_false;