From c3f52a2e3c22a8e05b60f94b8344501b14e87794 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 16 Aug 2024 09:24:30 -0400 Subject: New -noerror option to suppress error messages Closes: https://github.com/tavianator/bfs/issues/142 --- src/ctx.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ctx.h') diff --git a/src/ctx.h b/src/ctx.h index c7ebc20..4ca4a34 100644 --- a/src/ctx.h +++ b/src/ctx.h @@ -75,6 +75,8 @@ struct bfs_ctx { bool interactive; /** Whether to print warnings (-warn/-nowarn). */ bool warn; + /** Whether to report errors (-noerror). */ + bool ignore_errors; /** Whether any dangerous actions (-delete/-exec) are present. */ bool dangerous; -- cgit v1.2.3