]> sigrok.org Git - sigrok-cli.git/commitdiff
Fix error message
authorBert Vermeulen <redacted>
Sun, 28 Apr 2013 23:14:43 +0000 (01:14 +0200)
committerBert Vermeulen <redacted>
Sun, 28 Apr 2013 23:14:43 +0000 (01:14 +0200)
sigrok-cli.c

index a1ab7362ce8cfceb7bba44dc0a4e601579c367eb..e0860aeaa43f7aaa40cfaaea1534d8ba9f67f9e9 100644 (file)
@@ -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,