]> sigrok.org Git - sigrok-cli.git/blobdiff - sigrok-cli.c
sr/cli: s/patternmode/pattern/ in a few places.
[sigrok-cli.git] / 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 {