From: Uwe Hermann Date: Sat, 14 Jan 2012 20:41:41 +0000 (+0100) Subject: Improve 'longname' PD strings, use in 'sigrok-cli -V'. X-Git-Tag: sigrok-cli-0.3.0~70 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=60ca1ad65dac60ad90089391875488e53f16114f;p=sigrok-cli.git Improve 'longname' PD strings, use in 'sigrok-cli -V'. --- diff --git a/sigrok-cli.c b/sigrok-cli.c index 33d8ebb..2cfc471 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -119,7 +119,7 @@ static void show_version(void) printf("Supported protocol decoders:\n"); for (l = srd_list_decoders(); l; l = l->next) { dec = l->data; - printf(" %-20s %s\n", dec->id, dec->desc); + printf(" %-20s %s\n", dec->id, dec->longname); } printf("\n");