diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2020-03-13 16:26:33 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2020-03-15 12:48:33 -0400 |
commit | 56a862fded43b528eadc232d37a8684b48ef702c (patch) | |
tree | 2ee0b7417a8f16de396808aac7c7257e4b94f061 /cmdline.h | |
parent | 09558efdf0af09db73a4d16039a1e2718e7a58c5 (diff) | |
download | bfs-56a862fded43b528eadc232d37a8684b48ef702c.tar.xz |
diag: Make the -warn flag part of the cmdline
Diffstat (limited to 'cmdline.h')
-rw-r--r-- | cmdline.h | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -87,16 +87,18 @@ struct cmdline { /** bftw() search strategy. */ enum bftw_strategy strategy; - /** Optimization level. */ + /** Optimization level (-O). */ int optlevel; - /** Debugging flags. */ + /** Debugging flags (-D). */ enum debug_flags debug; - /** Whether to only handle paths with xargs-safe characters. */ - bool xargs_safe; - /** Whether to ignore deletions that race with bfs. */ + /** Whether to ignore deletions that race with bfs (-ignore_readdir_race). */ bool ignore_races; - /** Whether to only return unique files. */ + /** Whether to only return unique files (-unique). */ bool unique; + /** Whether to print warnings (-warn/-nowarn). */ + bool warn; + /** Whether to only handle paths with xargs-safe characters (-X). */ + bool xargs_safe; /** The command line expression. */ struct expr *expr; |