Commit 37c36117 authored by Pavel Emelyanov's avatar Pavel Emelyanov

show: Make wildcard in pb pretty

The "*:<fmt>" describes format for everyone else in pretty.
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 2f223fdc
......@@ -412,6 +412,10 @@ static int pb_field_show_pretty(const ProtobufCFieldDescriptor *fd, pb_pr_ctl_t
if (pb_find_fmt(cookie, ctl))
return 1;
sprintf(cookie, "*:");
if (pb_find_fmt(cookie, ctl))
return 1;
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment