Add a check to make sure the input trace format argument passed to the
babeltrace converter is "ctf" as it is currently the only one supported.
Add a note to this effect in the man page.
Fixes #462
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
}
}
fmt_read = bt_lookup_format(g_quark_from_static_string(opt_input_format));
- if (!fmt_read) {
+ if (!fmt_read || fmt_read->name != g_quark_from_static_string("ctf")) {
fprintf(stderr, "[error] Format \"%s\" is not supported.\n\n",
opt_input_format);
partial_error = 1;
Output trace path (default: stdout)
.TP
.BR "-i, --input-format FORMAT"
-Input trace format (default: ctf)
+Input trace format (default: ctf). CTF is currently the only supported input format.
.TP
.BR "-o, --output-format FORMAT"
Output trace format (default: text)