From: Uwe Hermann Date: Tue, 20 Mar 2012 17:09:18 +0000 (+0100) Subject: sr/cli: s/patternmode/pattern/ in a few places. X-Git-Tag: sigrok-cli-0.3.0~9 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=0a56f4ecc9155ec168a2a000ca5310b1fc1b645b;p=sigrok-cli.git sr/cli: s/patternmode/pattern/ in a few places. --- 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 {