Skip to content

Commit f2236ae

Browse files
committed
Indicate in -V output if Verbatim JSON is supported
1 parent 7ce6c48 commit f2236ae

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

kcat.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1253,7 +1253,7 @@ static void RD_NORETURN usage (const char *argv0, int exitcode,
12531253
"kcat - Apache Kafka producer and consumer tool\n"
12541254
"https://github.com/edenhill/kcat\n"
12551255
"Copyright (c) 2014-2021, Magnus Edenhill\n"
1256-
"Version %s (%slibrdkafka %s builtin.features=%s)\n"
1256+
"Version %s (%s%slibrdkafka %s builtin.features=%s)\n"
12571257
"\n",
12581258
KCAT_VERSION,
12591259
""
@@ -1270,6 +1270,11 @@ static void RD_NORETURN usage (const char *argv0, int exitcode,
12701270
"IncrementalAssign, "
12711271
#endif
12721272
,
1273+
#if ENABLE_JSON
1274+
json_can_emit_verbatim() ? "JSONVerbatim, " : "",
1275+
#else
1276+
"",
1277+
#endif
12731278
rd_kafka_version_str(), features
12741279
);
12751280

0 commit comments

Comments
 (0)