summaryrefslogtreecommitdiffstats
path: root/src/ctx.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-08-16 09:24:30 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-08-16 09:33:34 -0400
commitc3f52a2e3c22a8e05b60f94b8344501b14e87794 (patch)
tree6d5c3d6fec021ba5814443e44b971e59ed5157e9 /src/ctx.h
parente130daf99c1828c554c27d546274712624b81faa (diff)
downloadbfs-c3f52a2e3c22a8e05b60f94b8344501b14e87794.tar.xz
New -noerror option to suppress error messages
Closes: https://github.com/tavianator/bfs/issues/142
Diffstat (limited to 'src/ctx.h')
-rw-r--r--src/ctx.h2
1 files changed, 2 insertions, 0 deletions
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;