From a0ad501b631f71fd32bd22a42c706f3f9380a122 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Wed, 26 Apr 2017 15:00:34 -0400 Subject: [PATCH] text.pretty: use "path" param. name instead of "output-path" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit With "path" you can use the the --path option of babeltrace-convert(1). Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- plugins/text/pretty/pretty.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/plugins/text/pretty/pretty.c b/plugins/text/pretty/pretty.c index 88fc521d..ea317cb3 100644 --- a/plugins/text/pretty/pretty.c +++ b/plugins/text/pretty/pretty.c @@ -52,7 +52,7 @@ static const char *plugin_options[] = { "color", - "output-path", + "path", "no-delta", "clock-cycles", "clock-seconds", @@ -387,9 +387,7 @@ enum bt_component_status apply_params(struct pretty_component *pretty, bt_put(color_value); } - ret = apply_one_string("output-path", - params, - &pretty->options.output_path); + ret = apply_one_string("path", params, &pretty->options.output_path); if (ret != BT_COMPONENT_STATUS_OK) { goto end; } @@ -728,7 +726,6 @@ enum bt_component_status pretty_init( } set_use_colors(pretty); - ret = bt_private_component_set_user_data(component, pretty); if (ret != BT_COMPONENT_STATUS_OK) { goto error; -- 2.34.1