From: Uwe Hermann Date: Fri, 15 Mar 2019 13:34:19 +0000 (+0100) Subject: Decoder --show output: List decoder tags. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=682fac3d1f9078329b7481aab4a2800d6a8bcee4;p=sigrok-cli.git Decoder --show output: List decoder tags. --- diff --git a/show.c b/show.c index 73240ee..dbbc632 100644 --- a/show.c +++ b/show.c @@ -770,6 +770,15 @@ static void show_pd_detail_single(const char *pd) } else { printf("None.\n"); } + printf("Decoder tags:\n"); + if (dec->tags) { + for (l = dec->tags; l; l = l->next) { + str = l->data; + printf("- %s\n", str); + } + } else { + printf("None.\n"); + } printf("Annotation classes:\n"); if (dec->annotations) { for (l = dec->annotations; l; l = l->next) {