python-plugin-provider: Make it build
[babeltrace.git] / cli / babeltrace-cfg-cli-args.c
index 159421650e5550f195f0520c3f73b374d217c6a7..dfce55bdec8a41698ac5b252df32f67d35e3e6ad 100644 (file)
@@ -3223,11 +3223,17 @@ int bt_value_to_cli_param_value_append(const bt_value *value, GString *buf)
                g_string_append_c(buf, '[');
                uint64_t sz = bt_value_array_get_size(value);
                for (uint64_t i = 0; i < sz; i++) {
+                       const bt_value *item;
+                       int ret;
+
                        if (i > 0) {
-                               g_string_append_c(buf, ',');
+                               g_string_append(buf, ", ");
                        }
-                       const bt_value *item = bt_value_array_borrow_element_by_index_const(value, i);
-                       int ret = bt_value_to_cli_param_value_append(item, buf);
+
+                       item = bt_value_array_borrow_element_by_index_const(
+                               value, i);
+                       ret = bt_value_to_cli_param_value_append(item, buf);
+
                        if (ret) {
                                goto end;
                        }
@@ -4521,6 +4527,13 @@ struct bt_config *bt_config_convert_from_args(int argc, const char *argv[],
                        if (ret) {
                                goto error;
                        }
+
+                       ret = append_implicit_component_extra_param(
+                               &implicit_lttng_live_args,
+                               "session-not-found-action", "end");
+                       if (ret) {
+                               goto error;
+                       }
                } else {
                        /*
                         * Create one source.ctf.fs component, pass it an array
This page took 0.035924 seconds and 4 git commands to generate.