projects
/
sigrok-cli.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37aeb8c
)
sr/cli: s/patternmode/pattern/ in a few places.
author
Uwe Hermann
<uwe@hermann-uwe.de>
Tue, 20 Mar 2012 17:09:18 +0000
(18:09 +0100)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Wed, 21 Mar 2012 22:20:07 +0000
(23:20 +0100)
sigrok-cli.c
patch
|
blob
|
history
diff --git
a/sigrok-cli.c
b/sigrok-cli.c
index 2e03aefc056d10aae40a044611339e0560705d5f..a5cec612a2b0b52b49ebba28fbab57f4544cfb37 100644
(file)
--- 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_PATTERN
MODE
S,
+ if (sr_dev_info_get(dev, SR_DI_PATTERNS,
(const void **)&stropts) == SR_OK) {
- printf(" - supported
mode
s:\n");
+ printf(" - supported
pattern
s:\n");
for (i = 0; stropts[i]; i++)
printf(" %s\n", stropts[i]);
} else {