summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Langford <wlangfor@gmail.com>2018-08-17 23:23:10 -0400
committerWilliam Langford <wlangfor@gmail.com>2018-08-17 23:23:10 -0400
commit46d1ce2667253f1a34cd389b6d00c0288ab0276f (patch)
tree41151e50e470c387b5b5b301dbf16415daff9a9a
parent0673dee1b38db5d49ae3f8cda0ba53fa4021c3ba (diff)
Restore JV_PRINT_COLOUR as an alias1.6rc2
JV_PRINT_COLOUR was part of the public libjq headers and was removed as part of 2d05b54. While JV_PRINT_COLOR is definitely the preferred spelling this side of the pond, we shouldn't just remove otherwise exposed enum values.
-rw-r--r--src/jv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jv.h b/src/jv.h
index a0d9d020..d111c80b 100644
--- a/src/jv.h
+++ b/src/jv.h
@@ -198,7 +198,7 @@ int jv_get_refcnt(jv);
enum jv_print_flags {
JV_PRINT_PRETTY = 1,
JV_PRINT_ASCII = 2,
- JV_PRINT_COLOR = 4,
+ JV_PRINT_COLOR = 4, JV_PRINT_COLOUR = 4,
JV_PRINT_SORTED = 8,
JV_PRINT_INVALID = 16,
JV_PRINT_REFCOUNT = 32,