From 4e47b8e583903752c08a29873ffcb868173c70d8 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 11 Dec 2020 19:50:36 -0600 Subject: The "fall back to C.UTF-8" check was backwards, and make TOYFLAG_LINEBUF configurable. --- lib/toyflags.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') diff --git a/lib/toyflags.h b/lib/toyflags.h index b158ba88..c8830874 100644 --- a/lib/toyflags.h +++ b/lib/toyflags.h @@ -32,6 +32,9 @@ // Suppress default --help processing #define TOYFLAG_NOHELP (1<<10) +// Line buffered stdout +#define TOYFLAG_LINEBUF (1<<11) + // Error code to return if argument parsing fails (default 1) #define TOYFLAG_ARGFAIL(x) (x<<24) -- cgit v1.2.3