X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=sigrok-cli.c;h=a5cec612a2b0b52b49ebba28fbab57f4544cfb37;hb=0a56f4ecc9155ec168a2a000ca5310b1fc1b645b;hp=2e03aefc056d10aae40a044611339e0560705d5f;hpb=37aeb8c5b5ef559407f69ffa72eabc776d9a6705;p=sigrok-cli.git diff --git a/sigrok-cli.c b/sigrok-cli.c index 2e03aef..a5cec61 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -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 {