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:
305661a
)
cli: use , as a separator for PD stacks, like all other options.
author
Bert Vermeulen
<bert@biot.com>
Mon, 23 Jan 2012 23:11:45 +0000
(
00:11
+0100)
committer
Bert Vermeulen
<bert@biot.com>
Mon, 23 Jan 2012 23:14:51 +0000
(
00:14
+0100)
sigrok-cli.c
patch
|
blob
|
history
diff --git
a/sigrok-cli.c
b/sigrok-cli.c
index 22b81178063929ce8043a3c8f1e33cdfa31966b2..c50d064a63a75b2142beaf1e94bb18b4fdc90779 100644
(file)
--- a/
sigrok-cli.c
+++ b/
sigrok-cli.c
@@
-1021,7
+1021,7
@@
int main(int argc, char **argv)
}
if (opt_pd_stack) {
}
if (opt_pd_stack) {
- pds = g_strsplit(opt_pd_stack, "
:
", 0);
+ pds = g_strsplit(opt_pd_stack, "
,
", 0);
if (g_strv_length(pds) < 2) {
printf("Specify at least two protocol decoders to stack.\n");
return 1;
if (g_strv_length(pds) < 2) {
printf("Specify at least two protocol decoders to stack.\n");
return 1;