Fix: Show context field name by default
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 18 Apr 2012 15:37:05 +0000 (11:37 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 18 Apr 2012 15:37:05 +0000 (11:37 -0400)
Everyone seems to be baffled by "what is this { 0 }", so change default
behavior to show the context field name: will show e.g. { cpu_id = 0 }.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
converter/babeltrace.c

index 904c0150868630c47e60820a4e359635b6bf9588..cb05891d682aa2a6438276a44d87e6dfb8961137 100644 (file)
@@ -217,6 +217,7 @@ static int parse_options(int argc, char **argv)
        poptReadDefaultConfig(pc, 0);
 
        /* set default */
+       opt_context_field_names = 1;
        opt_payload_field_names = 1;
 
        while ((opt = poptGetNextOpt(pc)) != -1) {
This page took 0.024647 seconds and 4 git commands to generate.