From: Fredrik Oestman Date: Wed, 30 May 2012 12:36:07 +0000 (-0400) Subject: Fix: babeltrace should use output format argument X-Git-Tag: v1.0.0-rc4~3 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=e2834a7eb31a5ce9faf16b354b0e3c608029e1d9 Fix: babeltrace should use output format argument "Please make this little change, otherwise ctf-text is always output regardless of "-o"." Signed-off-by: Mathieu Desnoyers --- diff --git a/converter/babeltrace.c b/converter/babeltrace.c index 55d89c89..fdbedae5 100644 --- a/converter/babeltrace.c +++ b/converter/babeltrace.c @@ -487,7 +487,7 @@ int main(int argc, char **argv) } strlower(opt_input_format); } - if (opt_output_format) { + if (opt_output_format_arg) { opt_output_format = strdup(opt_output_format_arg); if (!opt_output_format) { partial_error = 1;