]> sigrok.org Git - sigrok-cli.git/commitdiff
sr/cli: s/patternmode/pattern/ in a few places.
authorUwe Hermann <redacted>
Tue, 20 Mar 2012 17:09:18 +0000 (18:09 +0100)
committerUwe Hermann <redacted>
Wed, 21 Mar 2012 22:20:07 +0000 (23:20 +0100)
sigrok-cli.c

index 2e03aefc056d10aae40a044611339e0560705d5f..a5cec612a2b0b52b49ebba28fbab57f4544cfb37 100644 (file)
@@ -212,9 +212,9 @@ static void show_dev_detail(void)
 
                if (hwo->hwcap == SR_HWCAP_PATTERN_MODE) {
                        printf("    %s", hwo->shortname);
-                       if (sr_dev_info_get(dev, SR_DI_PATTERNMODES,
+                       if (sr_dev_info_get(dev, SR_DI_PATTERNS,
                                        (const void **)&stropts) == SR_OK) {
-                               printf(" - supported modes:\n");
+                               printf(" - supported patterns:\n");
                                for (i = 0; stropts[i]; i++)
                                        printf("      %s\n", stropts[i]);
                        } else {