From: Bert Vermeulen Date: Tue, 9 Sep 2014 17:54:36 +0000 (+0200) Subject: Fail on invalid channel group. X-Git-Tag: sigrok-cli-0.6.0~68 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=ac1e997dc0ed0b4c162009a5dfa9aaf34b9df8d5;p=sigrok-cli.git Fail on invalid channel group. --- diff --git a/device.c b/device.c index 90c9fc3..55d306b 100644 --- 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; }