]> sigrok.org Git - sigrok-cli.git/commitdiff
Improve 'longname' PD strings, use in 'sigrok-cli -V'.
authorUwe Hermann <redacted>
Sat, 14 Jan 2012 20:41:41 +0000 (21:41 +0100)
committerUwe Hermann <redacted>
Sat, 14 Jan 2012 20:41:41 +0000 (21:41 +0100)
sigrok-cli.c

index 33d8ebbedb5f979cf02f557a8c230e8ed566a860..2cfc471f00e7508592a60de1840b50eabf30aae0 100644 (file)
@@ -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");