diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-08-16 09:24:30 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-08-16 09:33:34 -0400 |
commit | c3f52a2e3c22a8e05b60f94b8344501b14e87794 (patch) | |
tree | 6d5c3d6fec021ba5814443e44b971e59ed5157e9 /src/ctx.h | |
parent | e130daf99c1828c554c27d546274712624b81faa (diff) | |
download | bfs-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |