diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2020-10-04 13:22:23 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2020-10-04 13:22:23 -0400 |
commit | b3312002a5d96cd486156a711d3c1861c150b7c6 (patch) | |
tree | adf8ce0d8d3984bb54c7b82af89f9aa3d90d294a /ctx.h | |
parent | b0282202ce8b361110ef32b18e7159edc604929d (diff) | |
download | bfs-b3312002a5d96cd486156a711d3c1861c150b7c6.tar.xz |
parse: Fail if -color is passed and the colors couldn't be parsed
Diffstat (limited to 'ctx.h')
-rw-r--r-- | ctx.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -84,6 +84,8 @@ struct bfs_ctx { /** Color data. */ struct colors *colors; + /** The error that occurred parsing the color table, if any. */ + int colors_error; /** Colored stdout. */ CFILE *cout; /** Colored stderr. */ |