From 1bce3b33acbfcfbfa03f1174d6e00c125cd8625d Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 7 Jun 2020 14:04:20 -0400 Subject: Implement -exclude, a special form for convenient exclusions Fixes #8. --- cmdline.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cmdline.h') 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. */ -- cgit v1.2.3