summaryrefslogtreecommitdiffstats
path: root/cmdline.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2020-06-07 14:04:20 -0400
committerTavian Barnes <tavianator@tavianator.com>2020-06-07 15:16:10 -0400
commit1bce3b33acbfcfbfa03f1174d6e00c125cd8625d (patch)
tree9cb9efd81d667b711845878310afb39183cae847 /cmdline.h
parentfaee855b1e886dacc999e1dccf7f8e2c750f33c6 (diff)
downloadbfs-1bce3b33acbfcfbfa03f1174d6e00c125cd8625d.tar.xz
Implement -exclude, a special form for convenient exclusions
Fixes #8.
Diffstat (limited to 'cmdline.h')
-rw-r--r--cmdline.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmdline.h b/cmdline.h
index 29da3fa..309dfa3 100644
--- a/cmdline.h
+++ b/cmdline.h
@@ -100,7 +100,9 @@ struct cmdline {
/** Whether to only handle paths with xargs-safe characters (-X). */
bool xargs_safe;
- /** The command line expression. */
+ /** An expression for files to filter out. */
+ struct expr *exclude;
+ /** The main command line expression. */
struct expr *expr;
/** All the open files owned by the command line. */