]> sigrok.org Git - sigrok-cli.git/commitdiff
Deprecate SR_DI_HWOPTS.
authorBert Vermeulen <redacted>
Fri, 25 Jan 2013 14:10:22 +0000 (15:10 +0100)
committerBert Vermeulen <redacted>
Fri, 25 Jan 2013 14:10:22 +0000 (15:10 +0100)
sigrok-cli.c

index 6feabd4df3838e281dda077a76007537f2976a7f..981d6efeb92e790e53a553209a736cc9abf33fdd 100644 (file)
@@ -342,7 +342,7 @@ static void show_dev_detail(void)
                printf("\n");
        }
 
-       if ((sr_info_get(sdi->driver, SR_DI_HWOPTS, (const void **)&hwopts,
+       if ((sr_config_list(sdi->driver, SR_CONF_SCAN_OPTIONS, (const void **)&hwopts,
                        NULL) == SR_OK) && hwopts) {
                printf("Supported driver options:\n");
                for (i = 0; hwopts[i]; i++) {