text.pretty: use "path" param. name instead of "output-path"
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 26 Apr 2017 19:00:34 +0000 (15:00 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 May 2017 16:57:41 +0000 (12:57 -0400)
With "path" you can use the the --path option of babeltrace-convert(1).

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
plugins/text/pretty/pretty.c

index 88fc521d60cd3562d054687721cfefaca6cc7b0a..ea317cb3d16c37f77aa3196892e677db97ebe419 100644 (file)
@@ -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;
This page took 0.02642 seconds and 4 git commands to generate.