Skip to content

Commit

Permalink
Indicate in -V output if Verbatim JSON is supported
Browse files Browse the repository at this point in the history
  • Loading branch information
edenhill committed Aug 23, 2021
1 parent 7ce6c48 commit f2236ae
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion kcat.c
Original file line number Diff line number Diff line change
Expand Up @@ -1253,7 +1253,7 @@ static void RD_NORETURN usage (const char *argv0, int exitcode,
"kcat - Apache Kafka producer and consumer tool\n"
"https://github.com/edenhill/kcat\n"
"Copyright (c) 2014-2021, Magnus Edenhill\n"
"Version %s (%slibrdkafka %s builtin.features=%s)\n"
"Version %s (%s%slibrdkafka %s builtin.features=%s)\n"
"\n",
KCAT_VERSION,
""
Expand All @@ -1270,6 +1270,11 @@ static void RD_NORETURN usage (const char *argv0, int exitcode,
"IncrementalAssign, "
#endif
,
#if ENABLE_JSON
json_can_emit_verbatim() ? "JSONVerbatim, " : "",
#else
"",
#endif
rd_kafka_version_str(), features
);

Expand Down

0 comments on commit f2236ae

Please sign in to comment.