]> sigrok.org Git - sigrok-cli.git/commitdiff
cli: use , as a separator for PD stacks, like all other options.
authorBert Vermeulen <redacted>
Mon, 23 Jan 2012 23:11:45 +0000 (00:11 +0100)
committerBert Vermeulen <redacted>
Mon, 23 Jan 2012 23:14:51 +0000 (00:14 +0100)
sigrok-cli.c

index 22b81178063929ce8043a3c8f1e33cdfa31966b2..c50d064a63a75b2142beaf1e94bb18b4fdc90779 100644 (file)
@@ -1021,7 +1021,7 @@ int main(int argc, char **argv)
        }
 
        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;