X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Ftext%2Ftext.c;h=44887b6fe11498470cac076f4d4deb9661a70318;hb=a263021c7b3cf7e563cb55b3985b46248320a545;hp=163f3c2ced15c68f20a33f11eb602998cfe7fda1;hpb=05a67631af7f4005df9a7d921d2965b66251ddd4;p=babeltrace.git diff --git a/plugins/text/text.c b/plugins/text/text.c index 163f3c2c..44887b6f 100644 --- a/plugins/text/text.c +++ b/plugins/text/text.c @@ -54,6 +54,7 @@ const char *plugin_options[] = { "clock-seconds", "clock-date", "clock-gmt", + "verbose", "name-default", /* show/hide */ "name-payload", "name-context", @@ -417,6 +418,13 @@ enum bt_component_status apply_params(struct text_component *text, } text->options.clock_gmt = value; + value = false; /* Default. */ + ret = apply_one_bool("verbose", params, &value, NULL); + if (ret != BT_COMPONENT_STATUS_OK) { + goto end; + } + text->options.verbose = value; + /* Names. */ ret = apply_one_string("name-default", params, &str); if (ret != BT_COMPONENT_STATUS_OK) {