From: Bert Vermeulen Date: Sun, 28 Apr 2013 23:14:43 +0000 (+0200) Subject: Fix error message X-Git-Tag: sigrok-cli-0.4.0~7 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=d79d480604b5c9d0946f6e25c638bdfae1b8961d;p=sigrok-cli.git Fix error message --- diff --git a/sigrok-cli.c b/sigrok-cli.c index a1ab736..e0860ae 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -344,7 +344,7 @@ static void show_dev_detail(void) num_devices = g_slist_length(devices); if (num_devices > 1) { g_critical("%d devices found. Use --list-devices to show them, " - "and --device to select one.", num_devices); + "and select one to show.", num_devices); return; } @@ -543,7 +543,6 @@ static void show_dev_detail(void) g_variant_unref(gvar); } else if (srci->key == SR_CONF_DATALOG) { - /* TODO test */ /* Turning on/off internal data logging. */ printf(" %s\t(on/off", srci->id); if (sr_config_get(sdi->driver, SR_CONF_DATALOG,