]> sigrok.org Git - sigrok-cli.git/commitdiff
Fail on invalid channel group.
authorBert Vermeulen <redacted>
Tue, 9 Sep 2014 17:54:36 +0000 (19:54 +0200)
committerBert Vermeulen <redacted>
Tue, 9 Sep 2014 17:54:36 +0000 (19:54 +0200)
device.c

index 90c9fc349449d0e0e183cddf1e333adecd1b687c..55d306b323699c3ba8a5948a3b1a679eb7b54101 100644 (file)
--- a/device.c
+++ b/device.c
@@ -133,6 +133,7 @@ struct sr_channel_group *select_channel_group(struct sr_dev_inst *sdi)
                        return cg;
                }
        }
+       g_critical("Invalid channel group '%s'", opt_channel_group);
 
        return NULL;
 }